Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Binary ¶
Binary represents binary expr
func (*Binary) HasIdentifier ¶ added in v0.3.0
HasIdentifier returns true if x or y opperand is identity
func (*Binary) HasPlaceholder ¶
HasPlaceholder returns true if x or y operand is placeholder
func (*Binary) Identifier ¶ added in v0.3.0
Identifier returns an identifier node or nil
func (*Binary) Parenthesis ¶
func (b *Binary) Parenthesis() *Parenthesis
Parenthesis returns parenthesis
type Literal ¶
Literal represents a literal
func NewNumericLiteral ¶
NewNumericLiteral returns numeric literal
func NewStringLiteral ¶
NewStringLiteral returns string literal
type Parenthesis ¶
Parenthesis represents parenthesis expr
func NewParenthesis ¶
func NewParenthesis(raw string) *Parenthesis
NewParenthesis returns a parenthesis expr
type Placeholder ¶
Placeholder represetns a placeholder
func NewPlaceholder ¶
func NewPlaceholder(name string) *Placeholder
NewPlaceholder returns a placeholder
Click to show internal directories.
Click to hide internal directories.