Documentation
¶
Index ¶
- type Aliased
- type Comparison
- func (c *Comparison) End() token.Pos
- func (c *Comparison) GetComparison() Node
- func (c *Comparison) GetLeft() Node
- func (c *Comparison) GetRight() Node
- func (c *Comparison) GetTokens() []Node
- func (c *Comparison) Pos() token.Pos
- func (c *Comparison) SetTokens(toks []Node)
- func (c *Comparison) String() string
- func (c *Comparison) Type() NodeType
- type FunctionLiteral
- type Identifer
- type IdentiferList
- func (il *IdentiferList) End() token.Pos
- func (il *IdentiferList) GetIdentifers() []Node
- func (il *IdentiferList) GetTokens() []Node
- func (il *IdentiferList) Pos() token.Pos
- func (il *IdentiferList) SetTokens(toks []Node)
- func (il *IdentiferList) String() string
- func (il *IdentiferList) Type() NodeType
- type Item
- type ItemWith
- type MemberIdentifer
- func (mi *MemberIdentifer) End() token.Pos
- func (mi *MemberIdentifer) GetChild() Node
- func (mi *MemberIdentifer) GetTokens() []Node
- func (mi *MemberIdentifer) Pos() token.Pos
- func (mi *MemberIdentifer) SetTokens(toks []Node)
- func (mi *MemberIdentifer) String() string
- func (mi *MemberIdentifer) Type() NodeType
- type MultiKeyword
- type Node
- type NodeType
- type Null
- type Operator
- func (o *Operator) End() token.Pos
- func (o *Operator) GetLeft() Node
- func (o *Operator) GetOperator() Node
- func (o *Operator) GetRight() Node
- func (o *Operator) GetTokens() []Node
- func (o *Operator) Pos() token.Pos
- func (o *Operator) SetTokens(toks []Node)
- func (o *Operator) String() string
- func (o *Operator) Type() NodeType
- type Parenthesis
- type ParenthesisInner
- type Query
- type SQLToken
- func (t *SQLToken) MatchKind(expect token.Kind) bool
- func (t *SQLToken) MatchSQLKeyword(expect string) bool
- func (t *SQLToken) MatchSQLKeywords(expects []string) bool
- func (t *SQLToken) MatchSQLKind(expect dialect.KeywordKind) bool
- func (t *SQLToken) NoQuateString() string
- func (t *SQLToken) String() string
- type Statement
- type SwitchCase
- type Token
- type TokenList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comparison ¶
func (*Comparison) End ¶
func (c *Comparison) End() token.Pos
func (*Comparison) GetComparison ¶
func (c *Comparison) GetComparison() Node
func (*Comparison) GetLeft ¶
func (c *Comparison) GetLeft() Node
func (*Comparison) GetRight ¶
func (c *Comparison) GetRight() Node
func (*Comparison) GetTokens ¶
func (c *Comparison) GetTokens() []Node
func (*Comparison) Pos ¶
func (c *Comparison) Pos() token.Pos
func (*Comparison) SetTokens ¶
func (c *Comparison) SetTokens(toks []Node)
func (*Comparison) String ¶
func (c *Comparison) String() string
func (*Comparison) Type ¶
func (c *Comparison) Type() NodeType
type FunctionLiteral ¶
type FunctionLiteral struct {
Toks []Node
}
func (*FunctionLiteral) End ¶
func (fl *FunctionLiteral) End() token.Pos
func (*FunctionLiteral) GetTokens ¶
func (fl *FunctionLiteral) GetTokens() []Node
func (*FunctionLiteral) Pos ¶
func (fl *FunctionLiteral) Pos() token.Pos
func (*FunctionLiteral) SetTokens ¶
func (fl *FunctionLiteral) SetTokens(toks []Node)
func (*FunctionLiteral) String ¶
func (fl *FunctionLiteral) String() string
func (*FunctionLiteral) Type ¶
func (fl *FunctionLiteral) Type() NodeType
type Identifer ¶
type Identifer struct {
Tok *SQLToken
}
func (*Identifer) IsWildcard ¶
func (*Identifer) NoQuateString ¶
type IdentiferList ¶
func (*IdentiferList) End ¶
func (il *IdentiferList) End() token.Pos
func (*IdentiferList) GetIdentifers ¶
func (il *IdentiferList) GetIdentifers() []Node
func (*IdentiferList) GetTokens ¶
func (il *IdentiferList) GetTokens() []Node
func (*IdentiferList) Pos ¶
func (il *IdentiferList) Pos() token.Pos
func (*IdentiferList) SetTokens ¶
func (il *IdentiferList) SetTokens(toks []Node)
func (*IdentiferList) String ¶
func (il *IdentiferList) String() string
func (*IdentiferList) Type ¶
func (il *IdentiferList) Type() NodeType
type MemberIdentifer ¶
type MemberIdentifer struct {
Toks []Node
Parent Node
ParentTok *SQLToken
Child Node
ChildTok *SQLToken
}
func NewMemberIdentifer ¶
func NewMemberIdentifer(nodes []Node, parent Node, child Node) *MemberIdentifer
func NewMemberIdentiferParent ¶
func NewMemberIdentiferParent(nodes []Node, parent Node) *MemberIdentifer
func (*MemberIdentifer) End ¶
func (mi *MemberIdentifer) End() token.Pos
func (*MemberIdentifer) GetChild ¶
func (mi *MemberIdentifer) GetChild() Node
func (*MemberIdentifer) GetTokens ¶
func (mi *MemberIdentifer) GetTokens() []Node
func (*MemberIdentifer) Pos ¶
func (mi *MemberIdentifer) Pos() token.Pos
func (*MemberIdentifer) SetTokens ¶
func (mi *MemberIdentifer) SetTokens(toks []Node)
func (*MemberIdentifer) String ¶
func (mi *MemberIdentifer) String() string
func (*MemberIdentifer) Type ¶
func (mi *MemberIdentifer) Type() NodeType
type MultiKeyword ¶
func (*MultiKeyword) End ¶
func (mk *MultiKeyword) End() token.Pos
func (*MultiKeyword) GetKeywords ¶
func (mk *MultiKeyword) GetKeywords() []Node
func (*MultiKeyword) GetTokens ¶
func (mk *MultiKeyword) GetTokens() []Node
func (*MultiKeyword) Pos ¶
func (mk *MultiKeyword) Pos() token.Pos
func (*MultiKeyword) SetTokens ¶
func (mk *MultiKeyword) SetTokens(toks []Node)
func (*MultiKeyword) String ¶
func (mk *MultiKeyword) String() string
func (*MultiKeyword) Type ¶
func (mk *MultiKeyword) Type() NodeType
type Operator ¶
func (*Operator) GetOperator ¶
type Parenthesis ¶
type Parenthesis struct {
Toks []Node
}
func (*Parenthesis) End ¶
func (p *Parenthesis) End() token.Pos
func (*Parenthesis) GetTokens ¶
func (p *Parenthesis) GetTokens() []Node
func (*Parenthesis) Inner ¶
func (p *Parenthesis) Inner() TokenList
func (*Parenthesis) Pos ¶
func (p *Parenthesis) Pos() token.Pos
func (*Parenthesis) SetTokens ¶
func (p *Parenthesis) SetTokens(toks []Node)
func (*Parenthesis) String ¶
func (p *Parenthesis) String() string
func (*Parenthesis) Type ¶
func (p *Parenthesis) Type() NodeType
type ParenthesisInner ¶
type ParenthesisInner struct {
Toks []Node
}
func (*ParenthesisInner) End ¶
func (p *ParenthesisInner) End() token.Pos
func (*ParenthesisInner) GetTokens ¶
func (p *ParenthesisInner) GetTokens() []Node
func (*ParenthesisInner) Pos ¶
func (p *ParenthesisInner) Pos() token.Pos
func (*ParenthesisInner) SetTokens ¶
func (p *ParenthesisInner) SetTokens(toks []Node)
func (*ParenthesisInner) String ¶
func (p *ParenthesisInner) String() string
func (*ParenthesisInner) Type ¶
func (p *ParenthesisInner) Type() NodeType
type SQLToken ¶
func NewSQLToken ¶
func (*SQLToken) MatchSQLKeyword ¶
func (*SQLToken) MatchSQLKeywords ¶
func (*SQLToken) MatchSQLKind ¶
func (t *SQLToken) MatchSQLKind(expect dialect.KeywordKind) bool
func (*SQLToken) NoQuateString ¶
type SwitchCase ¶
type SwitchCase struct {
Toks []Node
}
func (*SwitchCase) End ¶
func (il *SwitchCase) End() token.Pos
func (*SwitchCase) GetTokens ¶
func (il *SwitchCase) GetTokens() []Node
func (*SwitchCase) Pos ¶
func (il *SwitchCase) Pos() token.Pos
func (*SwitchCase) SetTokens ¶
func (il *SwitchCase) SetTokens(toks []Node)
func (*SwitchCase) String ¶
func (il *SwitchCase) String() string
func (*SwitchCase) Type ¶
func (il *SwitchCase) Type() NodeType
Click to show internal directories.
Click to hide internal directories.