Documentation ¶
Overview ¶
Package parse for parse golang code. Extraction of basic information to generate helpfull code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { TokenType token.Token NodeDocComments *ast.CommentGroup NodePosition token.Position FieldName string FieldValue ast.Expr FieldDocComments *ast.CommentGroup FieldLineComments *ast.CommentGroup // var, const ValueSpec *ast.ValueSpec // value type; or nil ValueSpecType ast.Expr // type ... TypeSpec *ast.TypeSpec // *Ident, *ParenExpr, *SelectorExpr, *StarExpr, or any of the *XxxTypes TypeSpecType ast.Expr }
Node is backet with the prepared information.
func (Node) DocComments ¶
Click to show internal directories.
Click to hide internal directories.