Exp

open class Exp : ExpConstants

Constructors

Link copied to clipboard
constructor(tm: ExpTokenManager)
Constructor with generated Token Manager.
constructor(stream: InputStream)
Constructor with InputStream.
constructor(stream: InputStream, encoding: String)
Constructor with InputStream and supplied encoding
constructor(stream: Reader)
Constructor.

Properties

Link copied to clipboard
val ADD: Int = 9
RegularExpression Id.
Link copied to clipboard
val COMP: Int = 12
RegularExpression Id.
Link copied to clipboard
val DEF: Int = 11
RegularExpression Id.
Link copied to clipboard
val DEFAULT: Int = 0
Lexical state.
Link copied to clipboard
val DEL: Int = 10
RegularExpression Id.
Link copied to clipboard
val EOF: Int = 0
End of File.
Link copied to clipboard
open var jj_nt: Token
Next token.
Link copied to clipboard
val LISTCOMP: Int = 13
RegularExpression Id.
Link copied to clipboard
val LIT: Int = 17
RegularExpression Id.
Link copied to clipboard
val MAX: Int = 8
RegularExpression Id.
Link copied to clipboard
val MIN: Int = 7
RegularExpression Id.
Link copied to clipboard
val NUM: Int = 15
RegularExpression Id.
Link copied to clipboard
val RETURN: Int = 6
RegularExpression Id.
Link copied to clipboard
open var token: Token
Current token.
Link copied to clipboard
Generated Token Manager.
Link copied to clipboard
Literal token values.
Link copied to clipboard
val UNARYLISTCOMP: Int = 14
RegularExpression Id.
Link copied to clipboard
val VAR: Int = 16
RegularExpression Id.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Cost(): ITreeNode<HashString>
Link copied to clipboard
Disable tracing.
Link copied to clipboard
fun E(): ITreeNode<out Any>
Link copied to clipboard
Enable tracing.
Link copied to clipboard
fun Expr(): ITreeNode<out Any>
Link copied to clipboard
Generate ParseException.
Link copied to clipboard
Get the next Token.
Link copied to clipboard
fun getToken(index: Int): Token
Get the specific Token.
Link copied to clipboard
fun Init(): ITree
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun ReInit(tm: ExpTokenManager)
open fun ReInit(stream: InputStream)
open fun ReInit(stream: Reader)
open fun ReInit(stream: InputStream, encoding: String)
Reinitialise.
Link copied to clipboard
fun TimesExpr(): ITreeNode<out Any>
Link copied to clipboard
Link copied to clipboard
fun Var(): ITreeNode<out Any>