Versions in this module Expand all Collapse all v0 v0.1.0 Feb 5, 2019 Changes in this version + var Any = NewWellKnownType(exprpb.Type_ANY) + var Bool = NewPrimitiveType(exprpb.Type_BOOL) + var Bytes = NewPrimitiveType(exprpb.Type_BYTES) + var Double = NewPrimitiveType(exprpb.Type_DOUBLE) + var Duration = NewWellKnownType(exprpb.Type_DURATION) + var Dyn = &exprpb.Type + var Error = &exprpb.Type + var Int = NewPrimitiveType(exprpb.Type_INT64) + var Null = &exprpb.Type + var String = NewPrimitiveType(exprpb.Type_STRING) + var Timestamp = NewWellKnownType(exprpb.Type_TIMESTAMP) + var Uint = NewPrimitiveType(exprpb.Type_UINT64) + func NewAbstractType(name string, paramTypes ...*exprpb.Type) *exprpb.Type + func NewFunction(name string, overloads ...*exprpb.Decl_FunctionDecl_Overload) *exprpb.Decl + func NewFunctionType(resultType *exprpb.Type, argTypes ...*exprpb.Type) *exprpb.Type + func NewIdent(name string, t *exprpb.Type, v *exprpb.Constant) *exprpb.Decl + func NewInstanceOverload(id string, argTypes []*exprpb.Type, resultType *exprpb.Type) *exprpb.Decl_FunctionDecl_Overload + func NewListType(elem *exprpb.Type) *exprpb.Type + func NewMapType(key *exprpb.Type, value *exprpb.Type) *exprpb.Type + func NewObjectType(typeName string) *exprpb.Type + func NewOverload(id string, argTypes []*exprpb.Type, resultType *exprpb.Type) *exprpb.Decl_FunctionDecl_Overload + func NewParameterizedInstanceOverload(id string, argTypes []*exprpb.Type, resultType *exprpb.Type, ...) *exprpb.Decl_FunctionDecl_Overload + func NewParameterizedOverload(id string, argTypes []*exprpb.Type, resultType *exprpb.Type, ...) *exprpb.Decl_FunctionDecl_Overload + func NewPrimitiveType(primitive exprpb.Type_PrimitiveType) *exprpb.Type + func NewTypeParamType(name string) *exprpb.Type + func NewTypeType(nested *exprpb.Type) *exprpb.Type + func NewWellKnownType(wellKnown exprpb.Type_WellKnownType) *exprpb.Type + func NewWrapperType(wrapped *exprpb.Type) *exprpb.Type + type Group struct + type Scopes struct + func NewScopes() *Scopes + func (s *Scopes) AddFunction(fn *exprpb.Decl) + func (s *Scopes) AddIdent(decl *exprpb.Decl) + func (s *Scopes) FindFunction(name string) *exprpb.Decl + func (s *Scopes) FindIdent(name string) *exprpb.Decl + func (s *Scopes) FindIdentInScope(name string) *exprpb.Decl + func (s *Scopes) Pop() + func (s *Scopes) Push()