Documentation
¶
Index ¶
Constants ¶
View Source
const ( Lowest = iota Pipeline Or Coalesce And Compare BitOr BitXor BitAnd Shift Concat Sum Product Unary Pow Call )
Variables ¶
View Source
var LookupTable = map[token.Type]int{ token.PipeArrow: Pipeline, token.Coalesce: Coalesce, token.Or: Or, token.And: And, token.LT: Compare, token.GT: Compare, token.LTE: Compare, token.GTE: Compare, token.Eq: Compare, token.NotEq: Compare, token.Pipe: BitOr, token.Tilde: BitXor, token.Ampersand: BitAnd, token.LShift: Shift, token.RShift: Shift, token.Concat: Concat, token.Plus: Sum, token.Minus: Sum, token.Asterisk: Product, token.Slash: Product, token.FloorDiv: Product, token.Percent: Product, token.Caret: Pow, token.Dot: Call, token.QuestionDot: Call, token.LBracket: Call, token.LParen: Call, token.Colon: Call, token.Label: Call, }
Functions ¶
func IsRightAssoc ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.