Parser

collapseTerm (tokens: Array<ExprElement>): ExprElement

Name Type Default Description
tokens Array<ExprElement>    

matchBrackets (tokens: Array<ExprElement>, context: {variables?: undefined|Array<string>}): ExprElement

Name Type Default Description  
tokens Array<ExprElement>      
context {variables?: undefined Array<string>}    

tokenize (str: string): Array<ExprString|ExprSpace|ExprNumber|ExprIdentifier|ExprOperator>

Name Type Default Description
str string    

Copyright © 2024 Mathigon.org