MCPcopy Create free account
hub / github.com/crossoverJie/gscript / ArithmeticOperators

Function ArithmeticOperators

visitor.go:26–33  ·  view source on GitHub ↗
(script string)

Source from the content-addressed store, hash-verified

24}
25
26func ArithmeticOperators(script string) interface{} {
27 input := antlr.NewInputStream(script)
28 lexer := parser.NewGScriptLexer(input)
29 stream := antlr.NewCommonTokenStream(lexer, 0)
30 tree := parser.NewGScriptParser(stream).Prog()
31 visitor := Visitor{}
32 return visitor.Visit(tree)
33}
34
35/**
36栈帧入栈

Callers

nothing calls this directly

Calls 4

VisitMethod · 0.95
NewGScriptLexerFunction · 0.92
NewGScriptParserFunction · 0.92
ProgMethod · 0.80

Tested by

no test coverage detected