MathLexer

class MathLexer(content: String)

Lexer for math expressions

Parameters

content

Content to parse

Constructors

Link copied to clipboard
constructor(content: String)

Types

Link copied to clipboard
object Constants
Link copied to clipboard

Exception thrown when a value is expected but not found

Link copied to clipboard

Exception thrown when an unknown operator is found

Functions

Link copied to clipboard
fun execute(context: Context): Value

Parse an expression