Documentation ¶
Index ¶
- type CmdLine
- type LineReader
- type Parser
- func (p *Parser) AddLine(line []byte)
- func (p *Parser) Append(ext []byte)
- func (p *Parser) Errs() (err error)
- func (p *Parser) Init(src []byte) *Parser
- func (p *Parser) IsUnexpectEOF() bool
- func (p *Parser) Parse() (nodes []ast.Node, err error)
- func (p *Parser) ParseExpr() (expr ast.Expr)
- func (p *Parser) ParseStmt() (stmt ast.Stmt)
- func (p *Parser) ParseType() ast.Expr
- func (p *Parser) Reset()
- func (p *Parser) Scan() (pos token.Pos, tok token.Token, lit string)
- func (p *Parser) SetSource(src []byte)
- func (p *Parser) Source() []byte
- type Scanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineReader ¶
type Parser ¶
type Parser struct { // unstable CommentEOFHack bool // contains filtered or unexported fields }
func (*Parser) IsUnexpectEOF ¶
Click to show internal directories.
Click to hide internal directories.