Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryExpression ¶
type BinaryExpression struct {
Left Expression
Operator *token.Token
Right Expression
}
Binary expression (e.g. type=pe AND tag=upx)
func (*BinaryExpression) TokenLiteral ¶
func (be *BinaryExpression) TokenLiteral() string
type ComparisonExpression ¶
Comparison expression (e.g. type=pe)
func (*ComparisonExpression) TokenLiteral ¶
func (ce *ComparisonExpression) TokenLiteral() string
type Expression ¶
type Expression interface {
Node
// contains filtered or unexported methods
}
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser structure
func (*Parser) Parse ¶
func (p *Parser) Parse() (Expression, error)
func (*Parser) ParseExpression ¶
func (p *Parser) ParseExpression() (Expression, error)
func (*Parser) ParseOr ¶
func (p *Parser) ParseOr() (Expression, error)
Click to show internal directories.
Click to hide internal directories.