Debian Codegraph @

example/errorrecovery/ast/ast.go

raw symbols SCIP
1 package astscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/
2
3 import (
4 "github.com/goccmack/gocc/example/errorrecovery/tokenscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/token`/"
5 )
6
7 type (
8 StmtListscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/StmtList# []interface{}
9 Stmtscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/Stmt# string
10 )
11
12 func NewStmtListscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/NewStmtList().(stmt interface{}) (StmtListscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/StmtList#, error) {
13 return StmtListscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/StmtList#{stmt}, nil
14 }
15
16 func AppendStmtscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/AppendStmt().(stmtList, stmt interface{}) (StmtListscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/StmtList#, error) {
17 return append(stmtList.(StmtListscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/StmtList#), stmt), nil
18 }
19
20 func NewStmtscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/NewStmt().(stmtList interface{}) (Stmtscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/Stmt#, error) {
21 return Stmtscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/ast`/Stmt#(stmtList.(*tokenscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/token`/.Tokenscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/token`/Token#).Litscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/errorrecovery/token`/Token#Lit.), nil
22 }