Documentation ¶
Index ¶
- func New(config *types.Config) types.StatementParser
- type Parser
- func (sp *Parser) Parse(statement ast.Stmt) error
- func (sp *Parser) ParseConstValueSpec(constSpec types.ConstSpec) ([]*symbols.SymbolDef, error)
- func (sp *Parser) ParseFuncBody(funcDecl *ast.FuncDecl) error
- func (sp *Parser) ParseFuncDecl(d *ast.FuncDecl) (gotypes.DataType, error)
- func (sp *Parser) ParseValueSpec(spec *ast.ValueSpec) ([]*symbols.SymbolDef, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parser ¶
Parser parses go statements, e.g. block, declaration and definition of a function/method
func (*Parser) ParseConstValueSpec ¶
func (*Parser) ParseFuncDecl ¶
Click to show internal directories.
Click to hide internal directories.