Documentation ¶
Index ¶
- func Check(tree *parser.Tree, config *conf.Config) (reflect.Type, error)
- func FieldIndex(env Nature, node ast.Node) (bool, []int, string)
- func IsFastFunc(fn reflect.Type, method bool) bool
- func MethodIndex(env Nature, node ast.Node) (bool, int, string)
- func ParseCheck(input string, config *conf.Config) (*parser.Tree, error)
- func TypedFuncIndex(fn reflect.Type, method bool) (int, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
Check checks types of the expression tree. It returns type of the expression and error if any. If config is nil, then default configuration will be used.
func ParseCheck ¶
ParseCheck parses input expression and checks its types. Also, it applies all provided patchers. In case of error, it returns error with a tree.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.