FormulaParser class

Recursive descent parser for PineScript-like formulas and indicator scripts.

Constructors

FormulaParser(List<FormulaToken> tokens)
FormulaParser.fromString(String source)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tokens → List<FormulaToken>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseExpression() → FormulaNode
Convenience method to parse a single expression.
parseScript() → ScriptNode
Parses the tokens into a ScriptNode.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited