alchemist
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
alchemist
alchemist
/
it.unibo.alchemist.model.sapere.dsl.parser
/
ExpTokenManager
Exp
Token
Manager
open
class
ExpTokenManager
:
ExpConstants
Token Manager. This class was automatically generated by JavaCC, only few manual fixes added.
Members
Constructors
Exp
Token
Manager
Link copied to clipboard
constructor
(
stream
:
SimpleCharStream
)
Constructor.
constructor
(
stream
:
SimpleCharStream
,
lexState
:
Int
)
Constructor.
Properties
ADD
Link copied to clipboard
val
ADD
:
Int
=
9
RegularExpression Id.
COMP
Link copied to clipboard
val
COMP
:
Int
=
12
RegularExpression Id.
debug
Stream
Link copied to clipboard
open
var
debugStream
:
PrintStream
Debug output.
DEF
Link copied to clipboard
val
DEF
:
Int
=
11
RegularExpression Id.
DEFAULT
Link copied to clipboard
val
DEFAULT
:
Int
=
0
Lexical state.
DEL
Link copied to clipboard
val
DEL
:
Int
=
10
RegularExpression Id.
EOF
Link copied to clipboard
val
EOF
:
Int
=
0
End of File.
jjstr
Literal
Images
Link copied to clipboard
val
jjstrLiteralImages
:
Array
<
String
>
Token literal values.
lex
State
Names
Link copied to clipboard
val
lexStateNames
:
Array
<
String
>
Lexer state names.
LISTCOMP
Link copied to clipboard
val
LISTCOMP
:
Int
=
13
RegularExpression Id.
LIT
Link copied to clipboard
val
LIT
:
Int
=
17
RegularExpression Id.
MAX
Link copied to clipboard
val
MAX
:
Int
=
8
RegularExpression Id.
MIN
Link copied to clipboard
val
MIN
:
Int
=
7
RegularExpression Id.
NUM
Link copied to clipboard
val
NUM
:
Int
=
15
RegularExpression Id.
RETURN
Link copied to clipboard
val
RETURN
:
Int
=
6
RegularExpression Id.
token
Image
Link copied to clipboard
val
tokenImage
:
Array
<
String
>
Literal token values.
UNARYLISTCOMP
Link copied to clipboard
val
UNARYLISTCOMP
:
Int
=
14
RegularExpression Id.
VAR
Link copied to clipboard
val
VAR
:
Int
=
16
RegularExpression Id.
Functions
get
Next
Token
Link copied to clipboard
open
fun
getNextToken
(
)
:
Token
Get the next Token.
Re
Init
Link copied to clipboard
open
fun
ReInit
(
stream
:
SimpleCharStream
)
open
fun
ReInit
(
stream
:
SimpleCharStream
,
lexState
:
Int
)
Reinitialise parser.
set
Debug
Stream
Link copied to clipboard
open
fun
setDebugStream
(
ds
:
PrintStream
)
Set debug output.
Switch
To
Link copied to clipboard
open
fun
SwitchTo
(
lexState
:
Int
)
Switch to specified lex state.