Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayNode ¶
type ArrayNode struct { ElementType Node // contains filtered or unexported fields }
func (*ArrayNode) TypeParameters ¶
type BooleanNode ¶
type BooleanNode struct {
// contains filtered or unexported fields
}
func (*BooleanNode) String ¶
func (n *BooleanNode) String() string
func (*BooleanNode) TypeParameters ¶
func (*BooleanNode) TypeParameters() []string
type DottedIdentNode ¶
type DottedIdentNode struct { Names []string // contains filtered or unexported fields }
func (*DottedIdentNode) String ¶
func (n *DottedIdentNode) String() string
func (*DottedIdentNode) TypeParameters ¶
func (*DottedIdentNode) TypeParameters() []string
type FunctionNode ¶
type FunctionNode struct { Params []ParamNode Return Node // contains filtered or unexported fields }
func (*FunctionNode) String ¶
func (n *FunctionNode) String() string
func (*FunctionNode) TypeParameters ¶
func (n *FunctionNode) TypeParameters() []string
type IdentNode ¶
type IdentNode struct { Name string // contains filtered or unexported fields }
func (*IdentNode) TypeParameters ¶
func (*IdentNode) TypeParameters() []string
type Node ¶
type NullNode ¶
type NullNode struct {
// contains filtered or unexported fields
}
func (*NullNode) TypeParameters ¶
func (*NullNode) TypeParameters() []string
type NumberNode ¶
type NumberNode struct {
// contains filtered or unexported fields
}
func (*NumberNode) String ¶
func (n *NumberNode) String() string
func (*NumberNode) TypeParameters ¶
func (*NumberNode) TypeParameters() []string
type ObjectNode ¶
type ObjectNode struct { ElementType Node Fields []ParamNode // contains filtered or unexported fields }
func (*ObjectNode) String ¶
func (n *ObjectNode) String() string
func (*ObjectNode) TypeParameters ¶
func (n *ObjectNode) TypeParameters() []string
type ParamNode ¶
func (*ParamNode) TypeParameters ¶
type StringNode ¶
type StringNode struct {
// contains filtered or unexported fields
}
func (*StringNode) String ¶
func (n *StringNode) String() string
func (*StringNode) TypeParameters ¶
func (*StringNode) TypeParameters() []string
type Token ¶
type Token int
TokenType represents the type of a token.
const ( ILLEGAL Token = iota EOF SPACE // whitespace IDENT // main, foo, bar, x, y, etc. // operators and delimiters DOT // . COMMA // , BRACE_OPEN // { BRACE_CLOSE // } BRACKET_OPEN // [ BRACKET_CLOSE // ] PAREN_OPEN // ( PAREN_CLOSE // ) COLON // : ARROW // -> UNION // | // keywords ARRAY OBJECT FUNCTION )
type TypeParameterNode ¶
type TypeParameterNode struct { Name string // contains filtered or unexported fields }
func (*TypeParameterNode) String ¶
func (n *TypeParameterNode) String() string
func (*TypeParameterNode) TypeParameters ¶
func (*TypeParameterNode) TypeParameters() []string
Click to show internal directories.
Click to hide internal directories.