TeXParser class

Parser for converting TeX input strings to math expressions.

Most of this code is taken from https://github.com/DylanXie123/Num-Plus-Plus.

Constructors

TeXParser(String inputString)
Constructs a TeXParser.

Properties

hashCode int
The hash code for this object.
no setterinherited
inputString String
The TeX String to parse.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addFactorial(List<Expression> result) → void
Checks whether factorial can be calculated.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse() → Expression
Parses TeX to math_expression.
shuntingYard() → void
Creates an AST from the String.
tokenize() → void
Traverses the TeX String and creates classifies symbols.
toString() String
A string representation of this object.
inherited

Operators

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