FormulaParser class
Properties
-
formulaParser
→ Parser
-
Construct the parser, with caching.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
variables
→ Map<String, FormulaAst>
-
Pre-existing variables. For example, this formula may be merely
x + 1~2
, where x
is defined elsewhere.
final
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
parseString(String string, {List<FormulaAst> variables = const [], String? name})
→ FormulaAst
-
Parses
string
(a mathematical formula) and returns the FormulaAst
.
-
toString()
→ String
-
A string representation of this object.
inherited