Documentation ¶
Index ¶
- Constants
- func PQDump(sql string)
- type Ast
- func (node *Ast) IsComment() bool
- func (node *Ast) IsEmpty() bool
- func (node *Ast) IsExec() bool
- func (node *Ast) IsFunc() bool
- func (node *Ast) IsImFunc() bool
- func (node *Ast) IsImProc() bool
- func (node *Ast) IsNewLine() bool
- func (node *Ast) IsProc() bool
- func (node *Ast) IsQuery() bool
- func (node *Ast) IsWhiteSpace() bool
- func (node *Ast) Line() string
- func (node *Ast) Text() string
- type FileInfo
- type Parser
- func (p *Parser) Ast() []*Ast
- func (p *Parser) CloseExecKeyWord(node *Ast)
- func (p *Parser) CloseFuncKeyWord(node *Ast, state string)
- func (p *Parser) CloseProcKeyWord(node *Ast, state string)
- func (p *Parser) CloseStatment(node *Ast)
- func (p *Parser) Compile()
- func (p *Parser) CreateSchemaDefinition(node *Ast)
- func (p *Parser) MacroExpandDefault(node *Ast)
- func (p *Parser) MacroExpandExec(node *Ast)
- func (p *Parser) MacroExpandQuery(node *Ast)
- func (p *Parser) MacroScopeExpand(node *Ast)
- func (p *Parser) OpenFuncKeyWord(node *Ast)
- func (p *Parser) OpenImFuncKeyWord(node *Ast)
- func (p *Parser) OpenImProcKeyWord(node *Ast)
- func (p *Parser) OpenProcKeyWord(node *Ast)
- func (p *Parser) Parse()
- func (p *Parser) State(s token.Token) bool
- type Scanner
Constants ¶
View Source
const (
DEBUG = true
)
View Source
const (
SQL_EXTENSTION = ".sql"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parser ¶
func (*Parser) CloseExecKeyWord ¶
func (*Parser) CloseFuncKeyWord ¶
func (*Parser) CloseProcKeyWord ¶
func (*Parser) CloseStatment ¶
func (*Parser) CreateSchemaDefinition ¶
func (*Parser) MacroExpandDefault ¶
func (*Parser) MacroExpandExec ¶
func (*Parser) MacroExpandQuery ¶
func (*Parser) MacroScopeExpand ¶
func (*Parser) OpenFuncKeyWord ¶
func (*Parser) OpenImFuncKeyWord ¶
func (*Parser) OpenImProcKeyWord ¶
func (*Parser) OpenProcKeyWord ¶
Click to show internal directories.
Click to hide internal directories.