MCPcopy Create free account
hub / github.com/Meyhem/go-simple-expression-eval / constructAst

Function constructAst

parser.go:111–153  ·  view source on GitHub ↗

Takes list of postfix formed lexer items and builds binary expression tree

(postfixList *list.List)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ParseFunction · 0.85

Calls 7

PushMethod · 0.95
LenMethod · 0.95
PopMethod · 0.95
NewStackFunction · 0.85
NewAstNodeFunction · 0.85
translateLexToAstTypeFunction · 0.85
NewParserErrorFunction · 0.85

Tested by

no test coverage detected