Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRootVarname ¶
Types ¶
type Info ¶
type Info struct { FilePredicates []SpecialPredicate FunctionPredicates []SpecialPredicate Vars []string OpTab *OperationsTable }
type Operation ¶
type Operation uint32
const ( OpInvalid Operation = 0 // OpNop = do nothing (should be optimized-away, unless it's a top level op) OpNop Operation = math.MaxUint32 - iota // OpString is a string literal that holds the value inside $Str. OpString // OpNot = !$Args[0] OpNot // OpAnd = $Args[0] && $Args[1] OpAnd // OpOr = $Args[0] || $Args[1] OpOr // OpEq = $Args[0] == $Args[1] OpEq // OpNotEq = $Args[0] != $Args[1] OpNotEq // OpFunctionVarFunc = function.$Str() OpFunctionVarFunc )
type OperationsTable ¶
type OperationsTable struct {
// contains filtered or unexported fields
}
func NewOperationTable ¶
func NewOperationTable(varFuncs map[string]Operation) *OperationsTable
type SpecialPredicate ¶
Click to show internal directories.
Click to hide internal directories.