Documentation ¶
Index ¶
- func ParseArrayType(p *Parser) (*ast.Array, error)
- func ParseConst(p *Parser) (*ast.Const, error)
- func ParseCustomError(p *Parser) (customError *ast.CustomError, err error)
- func ParseEnum(p *Parser) (enum *ast.Enum, err error)
- func ParseExtend(p *Parser) (*ast.Identifier, error)
- func ParseMapKeyType(p *Parser) (ast.Type, error)
- func ParseMapType(p *Parser) (*ast.Map, error)
- func ParseMethodTypes(p *Parser) (methodTypes []ast.MethodType, err error)
- func ParseModel(p *Parser) (*ast.Model, error)
- func ParseModelField(p *Parser) (field *ast.Field, err error)
- func ParseOption(p *Parser) (option *ast.Option, err error)
- func ParseOptions(p *Parser) (ast.Options, error)
- func ParseProgram(p *Parser) (prog *ast.Program, err error)
- func ParseService(p *Parser) (service *ast.Service, err error)
- func ParseServiceMethod(p *Parser) (methods []*ast.Method, err error)
- func ParseServiceMethodArgument(p *Parser) (arg *ast.Arg, err error)
- func ParseServiceMethodReturnArg(p *Parser) (ret *ast.Return, err error)
- func ParseType(p *Parser) (ast.Type, error)
- func ParseValue(p *Parser) (value ast.Value, err error)
- type Parser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCustomError ¶
func ParseCustomError(p *Parser) (customError *ast.CustomError, err error)
func ParseExtend ¶
func ParseExtend(p *Parser) (*ast.Identifier, error)
func ParseMethodTypes ¶
func ParseMethodTypes(p *Parser) (methodTypes []ast.MethodType, err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.