ast

package
v1.9.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToString added in v1.7.3

func ConvertToString(t interface{}) interface{}

ConvertToString type

func GeneralAddProperty added in v1.7.3

func GeneralAddProperty(n interface{}, name string, value interface{}) interface{}

GeneralAddProperty to grammer node

func NewActionItem

func NewActionItem(action, raises interface{}) interface{}

NewActionItem type

func NewAnnotatedBOItem

func NewAnnotatedBOItem(annotations, element interface{}) (interface{}, error)

NewAnnotatedBOItem type

func NewAnnotation

func NewAnnotation(id, paramNamespace, paramText interface{}) (interface{}, error)

NewAnnotation type

func NewAnnotationList

func NewAnnotationList(e, l interface{}) (interface{}, error)

NewAnnotationList type

func NewAssociationItem

func NewAssociationItem(id, multiplicity, target, valuation interface{}) interface{}

NewAssociationItem type

func NewBODefination

func NewBODefination(annnotations, name, raises, elements interface{}) (interface{}, error)

NewBODefination type

func NewBoolValue

func NewBoolValue(t interface{}) (interface{}, error)

NewBoolValue type

func NewBusinessObjectNode

func NewBusinessObjectNode(tokens ...interface{}) (interface{}, error)

NewBusinessObjectNode type

func NewCommonList

func NewCommonList(l, e interface{}) (interface{}, error)

NewCommonList type

func NewComplexValue

func NewComplexValue(v interface{}) (interface{}, error)

NewComplexValue type

func NewCondition

func NewCondition(v1, v2 interface{}) interface{}

NewCondition type

func NewDataType

func NewDataType(id, ns interface{}) (interface{}, error)

NewDataType type

func NewElementItem

func NewElementItem(tokens ...interface{}) (interface{}, error)

NewElementItem type

func NewExpression added in v1.7.3

func NewExpression(op interface{}, left, right interface{}) interface{}

NewExpression type

func NewForeachStmt added in v1.7.3

func NewForeachStmt(loopObject, itemID, stmts interface{}) interface{}

NewForeachStmt type

func NewFuncCallExpr added in v1.7.3

func NewFuncCallExpr(function, args interface{}) interface{}

NewFuncCallExpr type

func NewFunctionCallExpr added in v1.7.2

func NewFunctionCallExpr(v interface{}) (interface{}, error)

NewFunctionCallExpr type

func NewIdentifier

func NewIdentifier(i interface{}) (interface{}, error)

NewIdentifier type

func NewIfStmt added in v1.7.3

func NewIfStmt(exp, stmts interface{}) interface{}

NewIfStmt type

func NewImportDeclaration

func NewImportDeclaration(n, i interface{}) (interface{}, error)

NewImportDeclaration type

func NewKeyValueList

func NewKeyValueList(i, l interface{}) (interface{}, error)

NewKeyValueList type

func NewKeyValuePair

func NewKeyValuePair(k, v interface{}) (interface{}, error)

NewKeyValuePair type

func NewMessageItem added in v1.7.2

func NewMessageItem(id, template, types interface{}) interface{}

NewMessageItem type

func NewMultiplicity

func NewMultiplicity(i1, i2 interface{}) (interface{}, error)

NewMultiplicity type

func NewNamespace

func NewNamespace(id, sub interface{}) (interface{}, error)

NewNamespace type

func NewNumberValue

func NewNumberValue(t interface{}) (interface{}, error)

NewNumberValue value

func NewObjectFieldList

func NewObjectFieldList(l, e interface{}) (interface{}, error)

NewObjectFieldList type

func NewObjectReference added in v1.7.2

func NewObjectReference(v interface{}) (interface{}, error)

NewObjectReference type

func NewProgram

func NewProgram(eles ...interface{}) (interface{}, error)

NewProgram type

func NewRaiseExpr

func NewRaiseExpr(ids interface{}) (interface{}, error)

NewRaiseExpr type

func NewSelector added in v1.7.3

func NewSelector(id, sub interface{}) (interface{}, error)

NewSelector type

func NewStatement

func NewStatement(n interface{}) (interface{}, error)

NewStatement type

func NewStatementList

func NewStatementList(s, l interface{}) (interface{}, error)

NewStatementList type

func NewStringValue

func NewStringValue(t interface{}) (interface{}, error)

NewStringValue value

func NewVariableDeclarationStmt added in v1.7.3

func NewVariableDeclarationStmt(name interface{}) interface{}

NewVariableDeclarationStmt type

Types

type GrammerNode

type GrammerNode map[string]interface{}

GrammerNode type

func (*GrammerNode) GetType

func (n *GrammerNode) GetType() string

GetType type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL