.4.0.4.source-code.STParser.tokens Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ST4 Show documentation
Show all versions of ST4 Show documentation
StringTemplate is a java template engine for generating source code,
web pages, emails, or any other formatted text output.
StringTemplate is particularly good at multi-targeted code generators,
multiple site skins, and internationalization/localization.
It evolved over years of effort developing jGuru.com.
StringTemplate also powers the ANTLR 3 and 4 code generator. Its distinguishing characteristic
is that unlike other engines, it strictly enforces model-view separation.
Strict separation makes websites and code generators more flexible
and maintainable; it also provides an excellent defense against malicious
template authors.
RBRACK=17
LBRACK=16
ELSE=5
ELLIPSIS=11
LCURLY=20
BANG=10
EQUALS=12
TEXT=22
ID=25
SEMI=9
LPAREN=14
IF=4
ELSEIF=6
COLON=13
RPAREN=15
WS=27
COMMA=18
RCURLY=21
ENDIF=7
RDELIM=24
SUPER=8
DOT=19
LDELIM=23
STRING=26
PIPE=28
OR=29
AND=30
INDENT=31
NEWLINE=32
AT=33
END=34
TRUE=35
FALSE=36
COMMENT=37
EXPR=38
OPTIONS=39
PROP=40
PROP_IND=41
INCLUDE=42
INCLUDE_IND=43
EXEC_FUNC=44
INCLUDE_SUPER=45
INCLUDE_SUPER_REGION=46
INCLUDE_REGION=47
TO_STR=48
LIST=49
MAP=50
ZIP=51
SUBTEMPLATE=52
ARGS=53
ELEMENTS=54
REGION=55
NULL=56
INDENTED_EXPR=57
'...'=11
'super'=8
'|'=28
'!'=10
'}'=21
'else'=5
'if'=4
'{'=20
'elseif'=6
';'=9
'='=12
':'=13
'('=14
'['=16
','=18
'.'=19
'endif'=7
')'=15
']'=17
'||'=29
'&&'=30
'@'=33
'@end'=34