Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExpTypeName = map[ExpType]string{ ExpStr: "string", ExpInt: "int", ExpFloat: "float", ExpBool: "bool", ExpNil: "nil", ExpVar: "variable", ExpOperator: "operator", ExpFunc: "function", ExpCalc: "calculation", ExpMap: "map", ExpInterface: "interface", }
Functions ¶
This section is empty.
Types ¶
type CSSClassMap ¶
type CSSPropVal ¶
type CSSPropVal []CSSToken
type CSSTokenType ¶
type CSSTokenType int
const ( CSSTokenNum CSSTokenType = iota CSSTokenStr CSSTokenColor CSSTokenOperator CSSTokenFunc CSSTokenVar CSSTokenClass CSSTokenProp )
type DDLDef ¶
type DDLDef struct {
TplMap map[string]*TplNode
CssClassMap CSSClassMap
}
type DdlError ¶
type DdlError struct {
// contains filtered or unexported fields
}
func (*DdlError) IsCssError ¶
func (*DdlError) IsExpError ¶
type Exp ¶
type Exp struct {
Type ExpType
Int int64
Float float64
Str string
Bool bool
FuncName string
FuncParams []*Exp
Variable string
Operator string
Map map[string]*Exp
Left *Exp
Right *Exp
TenaryCondition *Exp
Pos int
Interface interface{}
}
func (*Exp) ActualTypeName ¶
type ExpOperatorDirection ¶
type ExpOperatorDirection int
const ( LTR ExpOperatorDirection = iota RTL )
type TplNodeType ¶
type TplNodeType int
const ( TplNodeTag TplNodeType = iota TplNodeText TplNodeExp )
Click to show internal directories.
Click to hide internal directories.