Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBaseType ¶
IsBaseType returns true if the given type is a base type.
Types ¶
type API ¶
type API struct { Filename string Syntax *ast.SyntaxStmt TypeStmt []ast.TypeStmt ServiceStmts []*ast.ServiceStmt // contains filtered or unexported fields }
API is the parsed api file.
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
Analyzer analyzes the ast and converts it to spec.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser is the parser for api file.
func (*Parser) ParseForUintTest ¶
ParseForUintTest parse the source code for unit test.
Click to show internal directories.
Click to hide internal directories.