
org.btrplace.btrpsl.antlr.ANTLRBtrplaceSL2Lexer Maven / Gradle / Ivy
// $ANTLR 3.5.2 org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g 2016-12-13 21:33:59
package org.btrplace.btrpsl.antlr;
import java.util.LinkedList;
import org.btrplace.btrpsl.ErrorReporter;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
@SuppressWarnings("all")
public class ANTLRBtrplaceSL2Lexer extends Lexer {
public static final int EOF=-1;
public static final int T__70=70;
public static final int T__71=71;
public static final int T__72=72;
public static final int T__73=73;
public static final int T__74=74;
public static final int T__75=75;
public static final int T__76=76;
public static final int T__77=77;
public static final int T__78=78;
public static final int T__79=79;
public static final int T__80=80;
public static final int T__81=81;
public static final int T__82=82;
public static final int T__83=83;
public static final int T__84=84;
public static final int AND=4;
public static final int BLANK=5;
public static final int BLOCK=6;
public static final int CARDINALITY=7;
public static final int CName=8;
public static final int COMMENT=9;
public static final int CONSTRAINTIDENTIFIER=10;
public static final int DECIMAL=11;
public static final int DISCRETE=12;
public static final int DIV=13;
public static final int DIV_EQUALS=14;
public static final int Digit=15;
public static final int Digits=16;
public static final int ENUM_FQDN=17;
public static final int ENUM_ID=18;
public static final int ENUM_VAR=19;
public static final int EQ=20;
public static final int EQUALS=21;
public static final int ESC_SEQ=22;
public static final int EXPLODED_SET=23;
public static final int EXPORT=24;
public static final int FLOAT=25;
public static final int FOR=26;
public static final int GEQ=27;
public static final int GT=28;
public static final int HEXA=29;
public static final int HEX_DIGIT=30;
public static final int Hex_Content=31;
public static final int Hostname=32;
public static final int IDENTIFIER=33;
public static final int IF=34;
public static final int INT_OR_FLOAT_OR_RANGE_OR_HEXA=35;
public static final int LEFTFQDN=36;
public static final int LEFTIDENTIFIER=37;
public static final int LEFTVAR=38;
public static final int LEQ=39;
public static final int LT=40;
public static final int LblTail=41;
public static final int LeftFQDN=42;
public static final int LeftIdentifier=43;
public static final int Letter=44;
public static final int MINUS=45;
public static final int MINUS_EQUALS=46;
public static final int NAMESPACE=47;
public static final int NEQ=48;
public static final int NODE_NAME=49;
public static final int NOT=50;
public static final int OCTAL=51;
public static final int ONETONIME=52;
public static final int OR=53;
public static final int PLUS=54;
public static final int PLUS_EQUALS=55;
public static final int POWER=56;
public static final int PkgTail=57;
public static final int RANGE=58;
public static final int REMAINDER=59;
public static final int REMAINDER_EQUALS=60;
public static final int RIGHT=61;
public static final int STRING=62;
public static final int TEMPLATE_OPTION=63;
public static final int TIMES=64;
public static final int TIMES_EQUALS=65;
public static final int TYPE_DEFINITION=66;
public static final int USE=67;
public static final int VARIABLE=68;
public static final int WS=69;
java.util.Queue tokens = new java.util.LinkedList();
public void offer(int ttype, String ttext) {
Token t = new CommonToken(ttype, ttext);
t.setLine(getLine());
t.setCharPositionInLine(getCharPositionInLine());
emit(t);
}
@Override
public void emit(Token t) {
state.token = t;
tokens.offer(t);
}
@Override
public Token nextToken() {
super.nextToken();
Token t = tokens.isEmpty() ? getEOFToken() : tokens.poll();
return t;
}
private ErrorReporter errReporter;
public void setErrorReporter(ErrorReporter errReporter) {
this.errReporter = errReporter;
}
public void displayRecognitionError(String[] tokenNames, RecognitionException e) {
if (errReporter != null) {
int lineNo = e.line;
int colNo = e.charPositionInLine;
if (lineNo == 0) { //EOF ?
for (int i = e.token.getTokenIndex(); i >= 0; i--) {
Token t = e.token;
if (t.getLine() != 0) {
lineNo = t.getLine();
colNo = t.getCharPositionInLine();
break;
}
}
}
errReporter.append(lineNo, colNo, getErrorMessage(e, tokenNames));
} }
// delegates
// delegators
public Lexer[] getDelegates() {
return new Lexer[] {};
}
public ANTLRBtrplaceSL2Lexer() {}
public ANTLRBtrplaceSL2Lexer(CharStream input) {
this(input, new RecognizerSharedState());
}
public ANTLRBtrplaceSL2Lexer(CharStream input, RecognizerSharedState state) {
super(input,state);
}
@Override public String getGrammarFileName() { return "org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g"; }
// $ANTLR start "T__70"
public final void mT__70() throws RecognitionException {
try {
int _type = T__70;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:63:7: ( '#' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:63:9: '#'
{
match('#');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__70"
// $ANTLR start "T__71"
public final void mT__71() throws RecognitionException {
try {
int _type = T__71;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:64:7: ( '(' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:64:9: '('
{
match('(');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__71"
// $ANTLR start "T__72"
public final void mT__72() throws RecognitionException {
try {
int _type = T__72;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:65:7: ( ')' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:65:9: ')'
{
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__72"
// $ANTLR start "T__73"
public final void mT__73() throws RecognitionException {
try {
int _type = T__73;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:66:7: ( ',' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:66:9: ','
{
match(',');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__73"
// $ANTLR start "T__74"
public final void mT__74() throws RecognitionException {
try {
int _type = T__74;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:67:7: ( ';' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:67:9: ';'
{
match(';');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__74"
// $ANTLR start "T__75"
public final void mT__75() throws RecognitionException {
try {
int _type = T__75;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:68:7: ( 'else' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:68:9: 'else'
{
match("else");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__75"
// $ANTLR start "T__76"
public final void mT__76() throws RecognitionException {
try {
int _type = T__76;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:69:7: ( 'export' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:69:9: 'export'
{
match("export");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__76"
// $ANTLR start "T__77"
public final void mT__77() throws RecognitionException {
try {
int _type = T__77;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:70:7: ( 'for' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:70:9: 'for'
{
match("for");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__77"
// $ANTLR start "T__78"
public final void mT__78() throws RecognitionException {
try {
int _type = T__78;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:71:7: ( 'if' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:71:9: 'if'
{
match("if");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__78"
// $ANTLR start "T__79"
public final void mT__79() throws RecognitionException {
try {
int _type = T__79;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:72:7: ( 'import' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:72:9: 'import'
{
match("import");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__79"
// $ANTLR start "T__80"
public final void mT__80() throws RecognitionException {
try {
int _type = T__80;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:73:7: ( 'in' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:73:9: 'in'
{
match("in");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__80"
// $ANTLR start "T__81"
public final void mT__81() throws RecognitionException {
try {
int _type = T__81;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:74:7: ( 'namespace' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:74:9: 'namespace'
{
match("namespace");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__81"
// $ANTLR start "T__82"
public final void mT__82() throws RecognitionException {
try {
int _type = T__82;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:75:7: ( 'to' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:75:9: 'to'
{
match("to");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__82"
// $ANTLR start "T__83"
public final void mT__83() throws RecognitionException {
try {
int _type = T__83;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:76:7: ( '{' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:76:9: '{'
{
match('{');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__83"
// $ANTLR start "T__84"
public final void mT__84() throws RecognitionException {
try {
int _type = T__84;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:77:7: ( '}' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:77:9: '}'
{
match('}');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "T__84"
// $ANTLR start "Letter"
public final void mLetter() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:100:17: ( 'a' .. 'z' | 'A' .. 'Z' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "Letter"
// $ANTLR start "Hostname"
public final void mHostname() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:102:18: ( ( Letter | Digit ) ( ( '-' | '_' )? ( Letter | Digit ) )* )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:102:20: ( Letter | Digit ) ( ( '-' | '_' )? ( Letter | Digit ) )*
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:102:35: ( ( '-' | '_' )? ( Letter | Digit ) )*
loop2:
while (true) {
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0=='-'||(LA2_0 >= '0' && LA2_0 <= '9')||(LA2_0 >= 'A' && LA2_0 <= 'Z')||LA2_0=='_'||(LA2_0 >= 'a' && LA2_0 <= 'z')) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:102:36: ( '-' | '_' )? ( Letter | Digit )
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:102:36: ( '-' | '_' )?
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0=='-'||LA1_0=='_') ) {
alt1=1;
}
switch (alt1) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( input.LA(1)=='-'||input.LA(1)=='_' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
}
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop2;
}
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "Hostname"
// $ANTLR start "NODE_NAME"
public final void mNODE_NAME() throws RecognitionException {
try {
int _type = NODE_NAME;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:104:10: ( '@' Hostname ( '.' Hostname )* )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:104:12: '@' Hostname ( '.' Hostname )*
{
match('@');
mHostname();
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:104:24: ( '.' Hostname )*
loop3:
while (true) {
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0=='.') ) {
alt3=1;
}
switch (alt3) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:104:25: '.' Hostname
{
match('.');
mHostname();
}
break;
default :
break loop3;
}
}
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "NODE_NAME"
// $ANTLR start "LeftFQDN"
public final void mLeftFQDN() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:105:18: ( '@' ( Letter | Digit ) ( ( Letter | Digit | '_' | '-' | '.' ) )* )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:105:20: '@' ( Letter | Digit ) ( ( Letter | Digit | '_' | '-' | '.' ) )*
{
match('@');
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:105:38: ( ( Letter | Digit | '_' | '-' | '.' ) )*
loop4:
while (true) {
int alt4=2;
int LA4_0 = input.LA(1);
if ( ((LA4_0 >= '-' && LA4_0 <= '.')||(LA4_0 >= '0' && LA4_0 <= '9')||(LA4_0 >= 'A' && LA4_0 <= 'Z')||LA4_0=='_'||(LA4_0 >= 'a' && LA4_0 <= 'z')) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '-' && input.LA(1) <= '.')||(input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop4;
}
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LeftFQDN"
// $ANTLR start "LEFTFQDN"
public final void mLEFTFQDN() throws RecognitionException {
try {
int _type = LEFTFQDN;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:106:9: ( LeftFQDN '[' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:106:11: LeftFQDN '['
{
mLeftFQDN();
match('[');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LEFTFQDN"
// $ANTLR start "STRING"
public final void mSTRING() throws RecognitionException {
try {
int _type = STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:109:5: ( '\"' ( ESC_SEQ |~ ( '\\\\' | '\"' ) )* '\"' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:109:8: '\"' ( ESC_SEQ |~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:109:12: ( ESC_SEQ |~ ( '\\\\' | '\"' ) )*
loop5:
while (true) {
int alt5=3;
int LA5_0 = input.LA(1);
if ( (LA5_0=='\\') ) {
alt5=1;
}
else if ( ((LA5_0 >= '\u0000' && LA5_0 <= '!')||(LA5_0 >= '#' && LA5_0 <= '[')||(LA5_0 >= ']' && LA5_0 <= '\uFFFF')) ) {
alt5=2;
}
switch (alt5) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:109:14: ESC_SEQ
{
mESC_SEQ();
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:109:24: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '[')||(input.LA(1) >= ']' && input.LA(1) <= '\uFFFF') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop5;
}
}
match('\"');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "STRING"
// $ANTLR start "ESC_SEQ"
public final void mESC_SEQ() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:112:17: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:112:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ESC_SEQ"
// $ANTLR start "IDENTIFIER"
public final void mIDENTIFIER() throws RecognitionException {
try {
int _type = IDENTIFIER;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:115:11: ( Letter ( Letter | Digit )* ( ( '_' ( Letter | Digit ) ( LblTail )* ) | ( '.' ( '*' | ( Letter ( PkgTail )* ( '.*' )? ) ) ) )? )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:115:13: Letter ( Letter | Digit )* ( ( '_' ( Letter | Digit ) ( LblTail )* ) | ( '.' ( '*' | ( Letter ( PkgTail )* ( '.*' )? ) ) ) )?
{
mLetter();
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:116:2: ( Letter | Digit )*
loop6:
while (true) {
int alt6=2;
int LA6_0 = input.LA(1);
if ( ((LA6_0 >= '0' && LA6_0 <= '9')||(LA6_0 >= 'A' && LA6_0 <= 'Z')||(LA6_0 >= 'a' && LA6_0 <= 'z')) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop6;
}
}
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:117:2: ( ( '_' ( Letter | Digit ) ( LblTail )* ) | ( '.' ( '*' | ( Letter ( PkgTail )* ( '.*' )? ) ) ) )?
int alt11=3;
int LA11_0 = input.LA(1);
if ( (LA11_0=='_') ) {
alt11=1;
}
else if ( (LA11_0=='.') ) {
alt11=2;
}
switch (alt11) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:117:3: ( '_' ( Letter | Digit ) ( LblTail )* )
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:117:3: ( '_' ( Letter | Digit ) ( LblTail )* )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:117:4: '_' ( Letter | Digit ) ( LblTail )*
{
match('_');
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:117:23: ( LblTail )*
loop7:
while (true) {
int alt7=2;
int LA7_0 = input.LA(1);
if ( ((LA7_0 >= '0' && LA7_0 <= '9')||(LA7_0 >= 'A' && LA7_0 <= 'Z')||LA7_0=='_'||(LA7_0 >= 'a' && LA7_0 <= 'z')) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:117:23: LblTail
{
mLblTail();
}
break;
default :
break loop7;
}
}
}
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:3: ( '.' ( '*' | ( Letter ( PkgTail )* ( '.*' )? ) ) )
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:3: ( '.' ( '*' | ( Letter ( PkgTail )* ( '.*' )? ) ) )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:5: '.' ( '*' | ( Letter ( PkgTail )* ( '.*' )? ) )
{
match('.');
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:9: ( '*' | ( Letter ( PkgTail )* ( '.*' )? ) )
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0=='*') ) {
alt10=1;
}
else if ( ((LA10_0 >= 'A' && LA10_0 <= 'Z')||(LA10_0 >= 'a' && LA10_0 <= 'z')) ) {
alt10=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 10, 0, input);
throw nvae;
}
switch (alt10) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:10: '*'
{
match('*');
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:16: ( Letter ( PkgTail )* ( '.*' )? )
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:16: ( Letter ( PkgTail )* ( '.*' )? )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:17: Letter ( PkgTail )* ( '.*' )?
{
mLetter();
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:24: ( PkgTail )*
loop8:
while (true) {
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0=='.') ) {
int LA8_1 = input.LA(2);
if ( ((LA8_1 >= 'A' && LA8_1 <= 'Z')||(LA8_1 >= 'a' && LA8_1 <= 'z')) ) {
alt8=1;
}
}
else if ( ((LA8_0 >= '0' && LA8_0 <= '9')||(LA8_0 >= 'A' && LA8_0 <= 'Z')||(LA8_0 >= 'a' && LA8_0 <= 'z')) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:24: PkgTail
{
mPkgTail();
}
break;
default :
break loop8;
}
}
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:33: ( '.*' )?
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0=='.') ) {
alt9=1;
}
switch (alt9) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:118:33: '.*'
{
match(".*");
}
break;
}
}
}
break;
}
}
}
break;
}
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "IDENTIFIER"
// $ANTLR start "LblTail"
public final void mLblTail() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:121:17: ( Letter | Digit | ( '_' ( Letter | Digit ) ) )
int alt12=3;
switch ( input.LA(1) ) {
case 'A':
case 'B':
case 'C':
case 'D':
case 'E':
case 'F':
case 'G':
case 'H':
case 'I':
case 'J':
case 'K':
case 'L':
case 'M':
case 'N':
case 'O':
case 'P':
case 'Q':
case 'R':
case 'S':
case 'T':
case 'U':
case 'V':
case 'W':
case 'X':
case 'Y':
case 'Z':
case 'a':
case 'b':
case 'c':
case 'd':
case 'e':
case 'f':
case 'g':
case 'h':
case 'i':
case 'j':
case 'k':
case 'l':
case 'm':
case 'n':
case 'o':
case 'p':
case 'q':
case 'r':
case 's':
case 't':
case 'u':
case 'v':
case 'w':
case 'x':
case 'y':
case 'z':
{
alt12=1;
}
break;
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
{
alt12=2;
}
break;
case '_':
{
alt12=3;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("", 12, 0, input);
throw nvae;
}
switch (alt12) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:121:19: Letter
{
mLetter();
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:122:5: Digit
{
mDigit();
}
break;
case 3 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:123:5: ( '_' ( Letter | Digit ) )
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:123:5: ( '_' ( Letter | Digit ) )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:123:6: '_' ( Letter | Digit )
{
match('_');
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
break;
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LblTail"
// $ANTLR start "PkgTail"
public final void mPkgTail() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:124:17: ( Letter | Digit | ( '.' Letter ) )
int alt13=3;
switch ( input.LA(1) ) {
case 'A':
case 'B':
case 'C':
case 'D':
case 'E':
case 'F':
case 'G':
case 'H':
case 'I':
case 'J':
case 'K':
case 'L':
case 'M':
case 'N':
case 'O':
case 'P':
case 'Q':
case 'R':
case 'S':
case 'T':
case 'U':
case 'V':
case 'W':
case 'X':
case 'Y':
case 'Z':
case 'a':
case 'b':
case 'c':
case 'd':
case 'e':
case 'f':
case 'g':
case 'h':
case 'i':
case 'j':
case 'k':
case 'l':
case 'm':
case 'n':
case 'o':
case 'p':
case 'q':
case 'r':
case 's':
case 't':
case 'u':
case 'v':
case 'w':
case 'x':
case 'y':
case 'z':
{
alt13=1;
}
break;
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
{
alt13=2;
}
break;
case '.':
{
alt13=3;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("", 13, 0, input);
throw nvae;
}
switch (alt13) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:124:19: Letter
{
mLetter();
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:125:6: Digit
{
mDigit();
}
break;
case 3 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:126:6: ( '.' Letter )
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:126:6: ( '.' Letter )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:126:7: '.' Letter
{
match('.');
mLetter();
}
}
break;
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "PkgTail"
// $ANTLR start "LeftIdentifier"
public final void mLeftIdentifier() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:128:24: ( Letter ( Letter | Digit | '_' )* )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:128:26: Letter ( Letter | Digit | '_' )*
{
mLetter();
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:128:32: ( Letter | Digit | '_' )*
loop14:
while (true) {
int alt14=2;
int LA14_0 = input.LA(1);
if ( ((LA14_0 >= '0' && LA14_0 <= '9')||(LA14_0 >= 'A' && LA14_0 <= 'Z')||LA14_0=='_'||(LA14_0 >= 'a' && LA14_0 <= 'z')) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop14;
}
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LeftIdentifier"
// $ANTLR start "LEFTIDENTIFIER"
public final void mLEFTIDENTIFIER() throws RecognitionException {
try {
int _type = LEFTIDENTIFIER;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:129:15: ( LeftIdentifier '[' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:129:17: LeftIdentifier '['
{
mLeftIdentifier();
match('[');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LEFTIDENTIFIER"
// $ANTLR start "Digit"
public final void mDigit() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:131:16: ( '0' .. '9' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "Digit"
// $ANTLR start "Digits"
public final void mDigits() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:132:17: ( ( '0' .. '9' )* )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:132:18: ( '0' .. '9' )*
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:132:18: ( '0' .. '9' )*
loop15:
while (true) {
int alt15=2;
int LA15_0 = input.LA(1);
if ( ((LA15_0 >= '0' && LA15_0 <= '9')) ) {
alt15=1;
}
switch (alt15) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop15;
}
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "Digits"
// $ANTLR start "Hex_Content"
public final void mHex_Content() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:133:21: ( ( HEX_DIGIT )+ )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:133:23: ( HEX_DIGIT )+
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:133:23: ( HEX_DIGIT )+
int cnt16=0;
loop16:
while (true) {
int alt16=2;
int LA16_0 = input.LA(1);
if ( ((LA16_0 >= '0' && LA16_0 <= '9')||(LA16_0 >= 'A' && LA16_0 <= 'F')||(LA16_0 >= 'a' && LA16_0 <= 'f')) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'F')||(input.LA(1) >= 'a' && input.LA(1) <= 'f') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
if ( cnt16 >= 1 ) break loop16;
EarlyExitException eee = new EarlyExitException(16, input);
throw eee;
}
cnt16++;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "Hex_Content"
// $ANTLR start "HEX_DIGIT"
public final void mHEX_DIGIT() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:134:19: ( Digit | 'a' .. 'f' | 'A' .. 'F' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'F')||(input.LA(1) >= 'a' && input.LA(1) <= 'f') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "HEX_DIGIT"
// $ANTLR start "DECIMAL"
public final void mDECIMAL() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:136:18: ()
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:136:20:
{
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "DECIMAL"
// $ANTLR start "OCTAL"
public final void mOCTAL() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:137:16: ()
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:137:18:
{
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "OCTAL"
// $ANTLR start "HEXA"
public final void mHEXA() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:138:14: ()
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:138:16:
{
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "HEXA"
// $ANTLR start "FLOAT"
public final void mFLOAT() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:139:15: ()
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:139:17:
{
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "FLOAT"
// $ANTLR start "ONETONIME"
public final void mONETONIME() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:140:19: ( '1' .. '9' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '1' && input.LA(1) <= '9') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ONETONIME"
// $ANTLR start "INT_OR_FLOAT_OR_RANGE_OR_HEXA"
public final void mINT_OR_FLOAT_OR_RANGE_OR_HEXA() throws RecognitionException {
try {
int _type = INT_OR_FLOAT_OR_RANGE_OR_HEXA;
int _channel = DEFAULT_TOKEN_CHANNEL;
CommonToken d2=null;
CommonToken d4=null;
CommonToken ONETONIME1=null;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:142:30: ( '0' ( ( 'x' | 'X' ) Hex_Content | ( '0' .. '7' )+ | '.' ( '.' | ( Digit )+ ) |) | ONETONIME d2= Digits ( '.' ( (d4= Digit )+ | '.' ) |) )
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0=='0') ) {
alt24=1;
}
else if ( ((LA24_0 >= '1' && LA24_0 <= '9')) ) {
alt24=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 24, 0, input);
throw nvae;
}
switch (alt24) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:143:1: '0' ( ( 'x' | 'X' ) Hex_Content | ( '0' .. '7' )+ | '.' ( '.' | ( Digit )+ ) |)
{
match('0');
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:144:2: ( ( 'x' | 'X' ) Hex_Content | ( '0' .. '7' )+ | '.' ( '.' | ( Digit )+ ) |)
int alt20=4;
switch ( input.LA(1) ) {
case 'X':
case 'x':
{
alt20=1;
}
break;
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
{
alt20=2;
}
break;
case '.':
{
alt20=3;
}
break;
default:
alt20=4;
}
switch (alt20) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:145:3: ( 'x' | 'X' ) Hex_Content
{
if ( input.LA(1)=='X'||input.LA(1)=='x' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
mHex_Content();
_type = HEXA;
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:147:3: ( '0' .. '7' )+
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:147:3: ( '0' .. '7' )+
int cnt17=0;
loop17:
while (true) {
int alt17=2;
int LA17_0 = input.LA(1);
if ( ((LA17_0 >= '0' && LA17_0 <= '7')) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '7') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
if ( cnt17 >= 1 ) break loop17;
EarlyExitException eee = new EarlyExitException(17, input);
throw eee;
}
cnt17++;
}
_type = OCTAL;
}
break;
case 3 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:149:3: '.' ( '.' | ( Digit )+ )
{
match('.');
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:149:6: ( '.' | ( Digit )+ )
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0=='.') ) {
alt19=1;
}
else if ( ((LA19_0 >= '0' && LA19_0 <= '9')) ) {
alt19=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 19, 0, input);
throw nvae;
}
switch (alt19) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:150:4: '.'
{
match('.');
_type = DECIMAL; offer(DECIMAL, "0"); offer(RANGE, "..");
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:152:4: ( Digit )+
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:152:4: ( Digit )+
int cnt18=0;
loop18:
while (true) {
int alt18=2;
int LA18_0 = input.LA(1);
if ( ((LA18_0 >= '0' && LA18_0 <= '9')) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
if ( cnt18 >= 1 ) break loop18;
EarlyExitException eee = new EarlyExitException(18, input);
throw eee;
}
cnt18++;
}
_type =FLOAT;
}
break;
}
}
break;
case 4 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:154:5:
{
_type = DECIMAL;
}
break;
}
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:157:1: ONETONIME d2= Digits ( '.' ( (d4= Digit )+ | '.' ) |)
{
int ONETONIME1Start613 = getCharIndex();
int ONETONIME1StartLine613 = getLine();
int ONETONIME1StartCharPos613 = getCharPositionInLine();
mONETONIME();
ONETONIME1 = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, ONETONIME1Start613, getCharIndex()-1);
ONETONIME1.setLine(ONETONIME1StartLine613);
ONETONIME1.setCharPositionInLine(ONETONIME1StartCharPos613);
int d2Start617 = getCharIndex();
int d2StartLine617 = getLine();
int d2StartCharPos617 = getCharPositionInLine();
mDigits();
d2 = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, d2Start617, getCharIndex()-1);
d2.setLine(d2StartLine617);
d2.setCharPositionInLine(d2StartCharPos617);
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:158:2: ( '.' ( (d4= Digit )+ | '.' ) |)
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0=='.') ) {
alt23=1;
}
else {
alt23=2;
}
switch (alt23) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:159:3: '.' ( (d4= Digit )+ | '.' )
{
match('.');
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:159:6: ( (d4= Digit )+ | '.' )
int alt22=2;
int LA22_0 = input.LA(1);
if ( ((LA22_0 >= '0' && LA22_0 <= '9')) ) {
alt22=1;
}
else if ( (LA22_0=='.') ) {
alt22=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 22, 0, input);
throw nvae;
}
switch (alt22) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:160:4: (d4= Digit )+
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:160:6: (d4= Digit )+
int cnt21=0;
loop21:
while (true) {
int alt21=2;
int LA21_0 = input.LA(1);
if ( ((LA21_0 >= '0' && LA21_0 <= '9')) ) {
alt21=1;
}
switch (alt21) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:160:6: d4= Digit
{
int d4Start633 = getCharIndex();
int d4StartLine633 = getLine();
int d4StartCharPos633 = getCharPositionInLine();
mDigit();
d4 = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, d4Start633, getCharIndex()-1);
d4.setLine(d4StartLine633);
d4.setCharPositionInLine(d4StartCharPos633);
}
break;
default :
if ( cnt21 >= 1 ) break loop21;
EarlyExitException eee = new EarlyExitException(21, input);
throw eee;
}
cnt21++;
}
_type = FLOAT;
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:162:4: '.'
{
match('.');
_type = DECIMAL;
StringBuilder buf = new StringBuilder((ONETONIME1!=null?ONETONIME1.getText():null));
if (d2 != null) {
buf.append((d2!=null?d2.getText():null));
}
offer(DECIMAL,buf.toString());
offer(RANGE,"..");
}
break;
}
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:170:4:
{
_type = DECIMAL;
}
break;
}
}
break;
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "INT_OR_FLOAT_OR_RANGE_OR_HEXA"
// $ANTLR start "EQUALS"
public final void mEQUALS() throws RecognitionException {
try {
int _type = EQUALS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:176:8: ( '=' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:176:10: '='
{
match('=');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "EQUALS"
// $ANTLR start "PLUS"
public final void mPLUS() throws RecognitionException {
try {
int _type = PLUS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:177:6: ( '+' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:177:8: '+'
{
match('+');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "PLUS"
// $ANTLR start "MINUS"
public final void mMINUS() throws RecognitionException {
try {
int _type = MINUS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:178:7: ( '-' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:178:9: '-'
{
match('-');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "MINUS"
// $ANTLR start "DIV"
public final void mDIV() throws RecognitionException {
try {
int _type = DIV;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:179:5: ( '/' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:179:7: '/'
{
match('/');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "DIV"
// $ANTLR start "REMAINDER"
public final void mREMAINDER() throws RecognitionException {
try {
int _type = REMAINDER;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:180:11: ( '%' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:180:13: '%'
{
match('%');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "REMAINDER"
// $ANTLR start "TIMES"
public final void mTIMES() throws RecognitionException {
try {
int _type = TIMES;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:181:7: ( '*' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:181:9: '*'
{
match('*');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "TIMES"
// $ANTLR start "AND"
public final void mAND() throws RecognitionException {
try {
int _type = AND;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:182:5: ( '&&' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:182:8: '&&'
{
match("&&");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "AND"
// $ANTLR start "OR"
public final void mOR() throws RecognitionException {
try {
int _type = OR;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:183:4: ( '||' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:183:7: '||'
{
match("||");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "OR"
// $ANTLR start "TYPE_DEFINITION"
public final void mTYPE_DEFINITION() throws RecognitionException {
try {
int _type = TYPE_DEFINITION;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:184:16: ( ':' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:184:18: ':'
{
match(':');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "TYPE_DEFINITION"
// $ANTLR start "POWER"
public final void mPOWER() throws RecognitionException {
try {
int _type = POWER;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:185:6: ( '^' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:185:8: '^'
{
match('^');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "POWER"
// $ANTLR start "GT"
public final void mGT() throws RecognitionException {
try {
int _type = GT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:186:4: ( '>' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:186:6: '>'
{
match('>');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "GT"
// $ANTLR start "GEQ"
public final void mGEQ() throws RecognitionException {
try {
int _type = GEQ;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:187:4: ( '>=' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:187:6: '>='
{
match(">=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "GEQ"
// $ANTLR start "LT"
public final void mLT() throws RecognitionException {
try {
int _type = LT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:188:3: ( '<' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:188:5: '<'
{
match('<');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LT"
// $ANTLR start "LEQ"
public final void mLEQ() throws RecognitionException {
try {
int _type = LEQ;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:189:4: ( '<=' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:189:6: '<='
{
match("<=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LEQ"
// $ANTLR start "NOT"
public final void mNOT() throws RecognitionException {
try {
int _type = NOT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:190:4: ( '!' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:190:6: '!'
{
match('!');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "NOT"
// $ANTLR start "EQ"
public final void mEQ() throws RecognitionException {
try {
int _type = EQ;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:191:3: ( '==' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:191:5: '=='
{
match("==");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "EQ"
// $ANTLR start "NEQ"
public final void mNEQ() throws RecognitionException {
try {
int _type = NEQ;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:192:4: ( '!=' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:192:5: '!='
{
match("!=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "NEQ"
// $ANTLR start "RANGE"
public final void mRANGE() throws RecognitionException {
try {
int _type = RANGE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:193:6: ( '..' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:193:8: '..'
{
match("..");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "RANGE"
// $ANTLR start "PLUS_EQUALS"
public final void mPLUS_EQUALS() throws RecognitionException {
try {
int _type = PLUS_EQUALS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:194:12: ( '+=' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:194:14: '+='
{
match("+=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "PLUS_EQUALS"
// $ANTLR start "MINUS_EQUALS"
public final void mMINUS_EQUALS() throws RecognitionException {
try {
int _type = MINUS_EQUALS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:195:13: ( '-=' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:195:15: '-='
{
match("-=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "MINUS_EQUALS"
// $ANTLR start "TIMES_EQUALS"
public final void mTIMES_EQUALS() throws RecognitionException {
try {
int _type = TIMES_EQUALS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:196:13: ( '*=' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:196:15: '*='
{
match("*=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "TIMES_EQUALS"
// $ANTLR start "DIV_EQUALS"
public final void mDIV_EQUALS() throws RecognitionException {
try {
int _type = DIV_EQUALS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:197:11: ( '/=' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:197:13: '/='
{
match("/=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "DIV_EQUALS"
// $ANTLR start "REMAINDER_EQUALS"
public final void mREMAINDER_EQUALS() throws RecognitionException {
try {
int _type = REMAINDER_EQUALS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:198:17: ( '%=' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:198:19: '%='
{
match("%=");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "REMAINDER_EQUALS"
// $ANTLR start "DISCRETE"
public final void mDISCRETE() throws RecognitionException {
try {
int _type = DISCRETE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:199:9: ( '>>' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:199:11: '>>'
{
match(">>");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "DISCRETE"
// $ANTLR start "IF"
public final void mIF() throws RecognitionException {
try {
int _type = IF;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:201:4: ( '__if' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:201:6: '__if'
{
match("__if");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "IF"
// $ANTLR start "EXPLODED_SET"
public final void mEXPLODED_SET() throws RecognitionException {
try {
int _type = EXPLODED_SET;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:202:13: ( '__{}' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:202:15: '__{}'
{
match("__{}");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "EXPLODED_SET"
// $ANTLR start "CARDINALITY"
public final void mCARDINALITY() throws RecognitionException {
try {
int _type = CARDINALITY;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:203:12: ( '__#' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:203:14: '__#'
{
match("__#");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "CARDINALITY"
// $ANTLR start "BLOCK"
public final void mBLOCK() throws RecognitionException {
try {
int _type = BLOCK;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:204:7: ( '__BK' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:204:9: '__BK'
{
match("__BK");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "BLOCK"
// $ANTLR start "FOR"
public final void mFOR() throws RecognitionException {
try {
int _type = FOR;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:205:4: ( '__for' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:205:6: '__for'
{
match("__for");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "FOR"
// $ANTLR start "USE"
public final void mUSE() throws RecognitionException {
try {
int _type = USE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:206:4: ( '__use' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:206:6: '__use'
{
match("__use");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "USE"
// $ANTLR start "EXPORT"
public final void mEXPORT() throws RecognitionException {
try {
int _type = EXPORT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:207:7: ( '__export' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:207:9: '__export'
{
match("__export");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "EXPORT"
// $ANTLR start "NAMESPACE"
public final void mNAMESPACE() throws RecognitionException {
try {
int _type = NAMESPACE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:208:10: ( '__namespace' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:208:12: '__namespace'
{
match("__namespace");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "NAMESPACE"
// $ANTLR start "TEMPLATE_OPTION"
public final void mTEMPLATE_OPTION() throws RecognitionException {
try {
int _type = TEMPLATE_OPTION;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:209:16: ( '__<>' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:209:18: '__<>'
{
match("__<>");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "TEMPLATE_OPTION"
// $ANTLR start "VARIABLE"
public final void mVARIABLE() throws RecognitionException {
try {
int _type = VARIABLE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:210:9: ( '$' Letter ( ( '_' | '.' )? ( Letter | Digit ) )* )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:210:11: '$' Letter ( ( '_' | '.' )? ( Letter | Digit ) )*
{
match('$');
mLetter();
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:210:22: ( ( '_' | '.' )? ( Letter | Digit ) )*
loop26:
while (true) {
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0=='.'||(LA26_0 >= '0' && LA26_0 <= '9')||(LA26_0 >= 'A' && LA26_0 <= 'Z')||LA26_0=='_'||(LA26_0 >= 'a' && LA26_0 <= 'z')) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:210:23: ( '_' | '.' )? ( Letter | Digit )
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:210:23: ( '_' | '.' )?
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0=='.'||LA25_0=='_') ) {
alt25=1;
}
switch (alt25) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( input.LA(1)=='.'||input.LA(1)=='_' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
}
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop26;
}
}
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "VARIABLE"
// $ANTLR start "LEFTVAR"
public final void mLEFTVAR() throws RecognitionException {
try {
int _type = LEFTVAR;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:211:8: ( '$' ( Letter ( Letter | Digit | '_' | '.' )* ) '[' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:211:10: '$' ( Letter ( Letter | Digit | '_' | '.' )* ) '['
{
match('$');
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:211:14: ( Letter ( Letter | Digit | '_' | '.' )* )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:211:15: Letter ( Letter | Digit | '_' | '.' )*
{
mLetter();
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:211:22: ( Letter | Digit | '_' | '.' )*
loop27:
while (true) {
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0=='.'||(LA27_0 >= '0' && LA27_0 <= '9')||(LA27_0 >= 'A' && LA27_0 <= 'Z')||LA27_0=='_'||(LA27_0 >= 'a' && LA27_0 <= 'z')) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( input.LA(1)=='.'||(input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop27;
}
}
}
match('[');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "LEFTVAR"
// $ANTLR start "COMMENT"
public final void mCOMMENT() throws RecognitionException {
try {
int _type = COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:214:5: ( '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n' | '/*' ( options {greedy=false; } : . )* '*/' )
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0=='/') ) {
int LA31_1 = input.LA(2);
if ( (LA31_1=='/') ) {
alt31=1;
}
else if ( (LA31_1=='*') ) {
alt31=2;
}
else {
int nvaeMark = input.mark();
try {
input.consume();
NoViableAltException nvae =
new NoViableAltException("", 31, 1, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
NoViableAltException nvae =
new NoViableAltException("", 31, 0, input);
throw nvae;
}
switch (alt31) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:214:9: '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n'
{
match("//");
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:214:14: (~ ( '\\n' | '\\r' ) )*
loop28:
while (true) {
int alt28=2;
int LA28_0 = input.LA(1);
if ( ((LA28_0 >= '\u0000' && LA28_0 <= '\t')||(LA28_0 >= '\u000B' && LA28_0 <= '\f')||(LA28_0 >= '\u000E' && LA28_0 <= '\uFFFF')) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '\t')||(input.LA(1) >= '\u000B' && input.LA(1) <= '\f')||(input.LA(1) >= '\u000E' && input.LA(1) <= '\uFFFF') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop28;
}
}
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:214:28: ( '\\r' )?
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0=='\r') ) {
alt29=1;
}
switch (alt29) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:214:28: '\\r'
{
match('\r');
}
break;
}
match('\n');
_channel=HIDDEN;
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:215:9: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:215:14: ( options {greedy=false; } : . )*
loop30:
while (true) {
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0=='*') ) {
int LA30_1 = input.LA(2);
if ( (LA30_1=='/') ) {
alt30=2;
}
else if ( ((LA30_1 >= '\u0000' && LA30_1 <= '.')||(LA30_1 >= '0' && LA30_1 <= '\uFFFF')) ) {
alt30=1;
}
}
else if ( ((LA30_0 >= '\u0000' && LA30_0 <= ')')||(LA30_0 >= '+' && LA30_0 <= '\uFFFF')) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:215:42: .
{
matchAny();
}
break;
default :
break loop30;
}
}
match("*/");
_channel=HIDDEN;
}
break;
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "COMMENT"
// $ANTLR start "WS"
public final void mWS() throws RecognitionException {
try {
int _type = WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:218:4: ( ( '\\n' | '\\r' | '\\t' | ' ' ) )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:218:6: ( '\\n' | '\\r' | '\\t' | ' ' )
{
if ( (input.LA(1) >= '\t' && input.LA(1) <= '\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
_channel=HIDDEN;
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "WS"
// $ANTLR start "CName"
public final void mCName() throws RecognitionException {
try {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:220:15: ( Letter ( Letter | Digit | '_' )* )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:220:17: Letter ( Letter | Digit | '_' )*
{
mLetter();
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:220:23: ( Letter | Digit | '_' )*
loop32:
while (true) {
int alt32=2;
int LA32_0 = input.LA(1);
if ( ((LA32_0 >= '0' && LA32_0 <= '9')||(LA32_0 >= 'A' && LA32_0 <= 'Z')||LA32_0=='_'||(LA32_0 >= 'a' && LA32_0 <= 'z')) ) {
alt32=1;
}
switch (alt32) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop32;
}
}
}
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "CName"
// $ANTLR start "CONSTRAINTIDENTIFIER"
public final void mCONSTRAINTIDENTIFIER() throws RecognitionException {
try {
int _type = CONSTRAINTIDENTIFIER;
int _channel = DEFAULT_TOKEN_CHANNEL;
CommonToken CName2=null;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:221:21: ( CName '(' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:221:23: CName '('
{
int CName2Start1023 = getCharIndex();
int CName2StartLine1023 = getLine();
int CName2StartCharPos1023 = getCharPositionInLine();
mCName();
CName2 = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, CName2Start1023, getCharIndex()-1);
CName2.setLine(CName2StartLine1023);
CName2.setCharPositionInLine(CName2StartCharPos1023);
match('(');
setText((CName2!=null?CName2.getText():null));
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "CONSTRAINTIDENTIFIER"
// $ANTLR start "BLANK"
public final void mBLANK() throws RecognitionException {
try {
int _type = BLANK;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:222:6: ( '_' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:222:8: '_'
{
match('_');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "BLANK"
// $ANTLR start "RIGHT"
public final void mRIGHT() throws RecognitionException {
try {
int _type = RIGHT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:239:6: ( ']' ( ( '.' | '_' | '-' )? ( Letter | Digit ) )* )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:239:7: ']' ( ( '.' | '_' | '-' )? ( Letter | Digit ) )*
{
match(']');
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:239:11: ( ( '.' | '_' | '-' )? ( Letter | Digit ) )*
loop34:
while (true) {
int alt34=2;
int LA34_0 = input.LA(1);
if ( ((LA34_0 >= '-' && LA34_0 <= '.')||(LA34_0 >= '0' && LA34_0 <= '9')||(LA34_0 >= 'A' && LA34_0 <= 'Z')||LA34_0=='_'||(LA34_0 >= 'a' && LA34_0 <= 'z')) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:239:12: ( '.' | '_' | '-' )? ( Letter | Digit )
{
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:239:12: ( '.' | '_' | '-' )?
int alt33=2;
int LA33_0 = input.LA(1);
if ( ((LA33_0 >= '-' && LA33_0 <= '.')||LA33_0=='_') ) {
alt33=1;
}
switch (alt33) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:
{
if ( (input.LA(1) >= '-' && input.LA(1) <= '.')||input.LA(1)=='_' ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
}
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop34;
}
}
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "RIGHT"
// $ANTLR start "ENUM_VAR"
public final void mENUM_VAR() throws RecognitionException {
try {
int _type = ENUM_VAR;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:241:9: ( '___enumVar___' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:241:11: '___enumVar___'
{
match("___enumVar___");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ENUM_VAR"
// $ANTLR start "ENUM_FQDN"
public final void mENUM_FQDN() throws RecognitionException {
try {
int _type = ENUM_FQDN;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:245:10: ( '___enumfqdn___' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:245:12: '___enumfqdn___'
{
match("___enumfqdn___");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ENUM_FQDN"
// $ANTLR start "ENUM_ID"
public final void mENUM_ID() throws RecognitionException {
try {
int _type = ENUM_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:248:8: ( '____enumId____' )
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:248:10: '____enumId____'
{
match("____enumId____");
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
}
// $ANTLR end "ENUM_ID"
@Override
public void mTokens() throws RecognitionException {
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:8: ( T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | NODE_NAME | LEFTFQDN | STRING | IDENTIFIER | LEFTIDENTIFIER | INT_OR_FLOAT_OR_RANGE_OR_HEXA | EQUALS | PLUS | MINUS | DIV | REMAINDER | TIMES | AND | OR | TYPE_DEFINITION | POWER | GT | GEQ | LT | LEQ | NOT | EQ | NEQ | RANGE | PLUS_EQUALS | MINUS_EQUALS | TIMES_EQUALS | DIV_EQUALS | REMAINDER_EQUALS | DISCRETE | IF | EXPLODED_SET | CARDINALITY | BLOCK | FOR | USE | EXPORT | NAMESPACE | TEMPLATE_OPTION | VARIABLE | LEFTVAR | COMMENT | WS | CONSTRAINTIDENTIFIER | BLANK | RIGHT | ENUM_VAR | ENUM_FQDN | ENUM_ID )
int alt35=64;
alt35 = dfa35.predict(input);
switch (alt35) {
case 1 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:10: T__70
{
mT__70();
}
break;
case 2 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:16: T__71
{
mT__71();
}
break;
case 3 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:22: T__72
{
mT__72();
}
break;
case 4 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:28: T__73
{
mT__73();
}
break;
case 5 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:34: T__74
{
mT__74();
}
break;
case 6 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:40: T__75
{
mT__75();
}
break;
case 7 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:46: T__76
{
mT__76();
}
break;
case 8 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:52: T__77
{
mT__77();
}
break;
case 9 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:58: T__78
{
mT__78();
}
break;
case 10 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:64: T__79
{
mT__79();
}
break;
case 11 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:70: T__80
{
mT__80();
}
break;
case 12 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:76: T__81
{
mT__81();
}
break;
case 13 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:82: T__82
{
mT__82();
}
break;
case 14 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:88: T__83
{
mT__83();
}
break;
case 15 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:94: T__84
{
mT__84();
}
break;
case 16 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:100: NODE_NAME
{
mNODE_NAME();
}
break;
case 17 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:110: LEFTFQDN
{
mLEFTFQDN();
}
break;
case 18 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:119: STRING
{
mSTRING();
}
break;
case 19 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:126: IDENTIFIER
{
mIDENTIFIER();
}
break;
case 20 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:137: LEFTIDENTIFIER
{
mLEFTIDENTIFIER();
}
break;
case 21 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:152: INT_OR_FLOAT_OR_RANGE_OR_HEXA
{
mINT_OR_FLOAT_OR_RANGE_OR_HEXA();
}
break;
case 22 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:182: EQUALS
{
mEQUALS();
}
break;
case 23 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:189: PLUS
{
mPLUS();
}
break;
case 24 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:194: MINUS
{
mMINUS();
}
break;
case 25 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:200: DIV
{
mDIV();
}
break;
case 26 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:204: REMAINDER
{
mREMAINDER();
}
break;
case 27 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:214: TIMES
{
mTIMES();
}
break;
case 28 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:220: AND
{
mAND();
}
break;
case 29 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:224: OR
{
mOR();
}
break;
case 30 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:227: TYPE_DEFINITION
{
mTYPE_DEFINITION();
}
break;
case 31 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:243: POWER
{
mPOWER();
}
break;
case 32 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:249: GT
{
mGT();
}
break;
case 33 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:252: GEQ
{
mGEQ();
}
break;
case 34 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:256: LT
{
mLT();
}
break;
case 35 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:259: LEQ
{
mLEQ();
}
break;
case 36 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:263: NOT
{
mNOT();
}
break;
case 37 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:267: EQ
{
mEQ();
}
break;
case 38 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:270: NEQ
{
mNEQ();
}
break;
case 39 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:274: RANGE
{
mRANGE();
}
break;
case 40 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:280: PLUS_EQUALS
{
mPLUS_EQUALS();
}
break;
case 41 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:292: MINUS_EQUALS
{
mMINUS_EQUALS();
}
break;
case 42 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:305: TIMES_EQUALS
{
mTIMES_EQUALS();
}
break;
case 43 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:318: DIV_EQUALS
{
mDIV_EQUALS();
}
break;
case 44 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:329: REMAINDER_EQUALS
{
mREMAINDER_EQUALS();
}
break;
case 45 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:346: DISCRETE
{
mDISCRETE();
}
break;
case 46 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:355: IF
{
mIF();
}
break;
case 47 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:358: EXPLODED_SET
{
mEXPLODED_SET();
}
break;
case 48 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:371: CARDINALITY
{
mCARDINALITY();
}
break;
case 49 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:383: BLOCK
{
mBLOCK();
}
break;
case 50 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:389: FOR
{
mFOR();
}
break;
case 51 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:393: USE
{
mUSE();
}
break;
case 52 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:397: EXPORT
{
mEXPORT();
}
break;
case 53 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:404: NAMESPACE
{
mNAMESPACE();
}
break;
case 54 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:414: TEMPLATE_OPTION
{
mTEMPLATE_OPTION();
}
break;
case 55 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:430: VARIABLE
{
mVARIABLE();
}
break;
case 56 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:439: LEFTVAR
{
mLEFTVAR();
}
break;
case 57 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:447: COMMENT
{
mCOMMENT();
}
break;
case 58 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:455: WS
{
mWS();
}
break;
case 59 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:458: CONSTRAINTIDENTIFIER
{
mCONSTRAINTIDENTIFIER();
}
break;
case 60 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:479: BLANK
{
mBLANK();
}
break;
case 61 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:485: RIGHT
{
mRIGHT();
}
break;
case 62 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:491: ENUM_VAR
{
mENUM_VAR();
}
break;
case 63 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:500: ENUM_FQDN
{
mENUM_FQDN();
}
break;
case 64 :
// org/btrplace/btrpsl/antlr/ANTLRBtrplaceSL2.g:1:510: ENUM_ID
{
mENUM_ID();
}
break;
}
}
protected DFA35 dfa35 = new DFA35(this);
static final String DFA35_eotS =
"\6\uffff\5\45\4\uffff\1\45\1\uffff\1\62\1\64\1\66\1\71\1\73\1\75\4\uffff"+
"\1\100\1\102\1\104\1\uffff\1\106\3\uffff\2\45\1\uffff\1\45\3\uffff\1\45"+
"\1\115\1\45\1\117\1\45\1\121\1\123\26\uffff\1\141\3\45\1\uffff\1\152\1"+
"\uffff\1\45\1\uffff\1\45\4\uffff\1\123\15\uffff\1\141\1\uffff\1\160\3"+
"\45\2\uffff\2\45\1\123\3\uffff\4\45\1\uffff\1\123\1\uffff\1\174\1\175"+
"\1\45\3\uffff\1\45\1\uffff\1\45\2\uffff\1\u0084\1\uffff";
static final String DFA35_eofS =
"\u0085\uffff";
static final String DFA35_minS =
"\1\11\5\uffff\5\50\2\uffff\1\60\1\uffff\1\50\1\uffff\3\75\1\52\2\75\4"+
"\uffff\3\75\1\uffff\1\137\1\101\2\uffff\2\50\1\uffff\2\50\2\uffff\6\50"+
"\1\55\24\uffff\1\43\1\uffff\1\56\5\50\1\uffff\1\50\1\uffff\1\50\1\uffff"+
"\1\55\2\uffff\2\55\11\uffff\1\137\1\uffff\2\56\1\uffff\5\50\1\uffff\2"+
"\50\1\55\1\156\2\uffff\4\50\2\55\1\165\3\50\1\155\2\uffff\1\50\1\126\1"+
"\50\2\uffff\1\50\1\uffff";
static final String DFA35_maxS =
"\1\175\5\uffff\5\172\2\uffff\1\172\1\uffff\1\172\1\uffff\6\75\4\uffff"+
"\1\76\2\75\1\uffff\1\137\1\172\2\uffff\2\172\1\uffff\2\172\2\uffff\7\172"+
"\24\uffff\1\173\1\uffff\6\172\1\uffff\1\172\1\uffff\1\172\1\uffff\1\172"+
"\2\uffff\2\172\11\uffff\1\145\1\uffff\2\172\1\uffff\5\172\1\uffff\3\172"+
"\1\156\2\uffff\6\172\1\165\3\172\1\155\2\uffff\1\172\1\146\1\172\2\uffff"+
"\1\172\1\uffff";
static final String DFA35_acceptS =
"\1\uffff\1\1\1\2\1\3\1\4\1\5\5\uffff\1\16\1\17\1\uffff\1\22\1\uffff\1"+
"\25\6\uffff\1\34\1\35\1\36\1\37\3\uffff\1\47\2\uffff\1\72\1\75\2\uffff"+
"\1\23\2\uffff\1\24\1\73\7\uffff\1\45\1\26\1\50\1\27\1\51\1\30\1\53\1\71"+
"\1\31\1\54\1\32\1\52\1\33\1\41\1\55\1\40\1\43\1\42\1\46\1\44\1\uffff\1"+
"\74\6\uffff\1\11\1\uffff\1\13\1\uffff\1\15\1\uffff\1\20\1\21\2\uffff\1"+
"\56\1\57\1\60\1\61\1\62\1\63\1\64\1\65\1\66\1\uffff\1\67\2\uffff\1\70"+
"\5\uffff\1\10\4\uffff\1\100\1\6\13\uffff\1\7\1\12\3\uffff\1\76\1\77\1"+
"\uffff\1\14";
static final String DFA35_specialS =
"\u0085\uffff}>";
static final String[] DFA35_transitionS = {
"\2\41\2\uffff\1\41\22\uffff\1\41\1\35\1\16\1\1\1\40\1\25\1\27\1\uffff"+
"\1\2\1\3\1\26\1\22\1\4\1\23\1\36\1\24\12\20\1\31\1\5\1\34\1\21\1\33\1"+
"\uffff\1\15\32\17\2\uffff\1\42\1\32\1\37\1\uffff\4\17\1\6\1\7\2\17\1"+
"\10\4\17\1\11\5\17\1\12\6\17\1\13\1\30\1\14",
"",
"",
"",
"",
"",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\13\46\1"+
"\43\13\46\1\44\2\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\16\46\1"+
"\52\13\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\5\46\1\53"+
"\6\46\1\54\1\55\14\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\1\56\31"+
"\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\16\46\1"+
"\57\13\46",
"",
"",
"\12\60\7\uffff\32\60\6\uffff\32\60",
"",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\32\46",
"",
"\1\61",
"\1\63",
"\1\65",
"\1\70\4\uffff\1\70\15\uffff\1\67",
"\1\72",
"\1\74",
"",
"",
"",
"",
"\1\76\1\77",
"\1\101",
"\1\103",
"",
"\1\105",
"\32\107\6\uffff\32\107",
"",
"",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\22\46\1"+
"\110\7\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\17\46\1"+
"\111\12\46",
"",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\32\46",
"\1\51\7\uffff\12\112\7\uffff\32\112\1\50\3\uffff\1\113\1\uffff\32\112",
"",
"",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\21\46\1"+
"\114\10\46",
"\1\51\5\uffff\1\45\1\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff"+
"\32\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\17\46\1"+
"\116\12\46",
"\1\51\5\uffff\1\45\1\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff"+
"\32\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\14\46\1"+
"\120\15\46",
"\1\51\5\uffff\1\45\1\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff"+
"\32\46",
"\1\122\1\126\1\uffff\12\125\7\uffff\32\125\1\124\3\uffff\1\122\1\uffff"+
"\32\125",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\1\131\30\uffff\1\137\5\uffff\1\132\34\uffff\1\140\5\uffff\1\135\1\133"+
"\2\uffff\1\127\4\uffff\1\136\6\uffff\1\134\5\uffff\1\130",
"",
"\1\142\1\uffff\12\143\7\uffff\32\143\1\144\3\uffff\1\142\1\uffff\32"+
"\143",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\4\46\1\145"+
"\25\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\16\46\1"+
"\146\13\46",
"\1\51\7\uffff\12\150\7\uffff\32\147\1\50\3\uffff\1\151\1\uffff\32\147",
"\1\51\7\uffff\12\113\7\uffff\32\113\1\50\3\uffff\1\113\1\uffff\32\113",
"\1\51\5\uffff\1\45\1\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff"+
"\32\46",
"",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\16\46\1"+
"\153\13\46",
"",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\4\46\1\154"+
"\25\46",
"",
"\2\124\1\uffff\12\125\7\uffff\32\125\1\124\3\uffff\1\124\1\uffff\32"+
"\125",
"",
"",
"\1\122\1\126\1\uffff\12\125\7\uffff\32\125\1\124\3\uffff\1\122\1\uffff"+
"\32\125",
"\2\124\1\uffff\12\155\7\uffff\32\155\1\124\3\uffff\1\124\1\uffff\32"+
"\155",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\1\157\5\uffff\1\156",
"",
"\1\144\1\uffff\12\143\7\uffff\32\143\1\144\3\uffff\1\144\1\uffff\32"+
"\143",
"\1\142\1\uffff\12\143\7\uffff\32\143\1\144\3\uffff\1\142\1\uffff\32"+
"\143",
"",
"\1\51\5\uffff\1\45\1\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff"+
"\32\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\21\46\1"+
"\161\10\46",
"\1\51\7\uffff\12\150\7\uffff\32\147\1\50\3\uffff\1\151\1\uffff\32\147",
"\1\51\7\uffff\12\150\7\uffff\32\147\1\50\3\uffff\1\151\1\uffff\32\147",
"\1\51\7\uffff\12\162\7\uffff\32\162\1\50\3\uffff\1\113\1\uffff\32\162",
"",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\21\46\1"+
"\163\10\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\22\46\1"+
"\164\7\46",
"\1\165\1\126\1\uffff\12\166\7\uffff\32\166\1\124\3\uffff\1\165\1\uffff"+
"\32\166",
"\1\167",
"",
"",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\23\46\1"+
"\170\6\46",
"\1\51\7\uffff\12\150\7\uffff\32\147\1\50\3\uffff\1\151\1\uffff\32\147",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\23\46\1"+
"\171\6\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\17\46\1"+
"\172\12\46",
"\2\124\1\uffff\12\166\7\uffff\32\166\1\124\3\uffff\1\124\1\uffff\32"+
"\166",
"\1\165\1\126\1\uffff\12\166\7\uffff\32\166\1\124\3\uffff\1\165\1\uffff"+
"\32\166",
"\1\173",
"\1\51\5\uffff\1\45\1\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff"+
"\32\46",
"\1\51\5\uffff\1\45\1\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff"+
"\32\46",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\1\176\31"+
"\46",
"\1\177",
"",
"",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\2\46\1\u0080"+
"\27\46",
"\1\u0081\17\uffff\1\u0082",
"\1\51\7\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff\4\46\1\u0083"+
"\25\46",
"",
"",
"\1\51\5\uffff\1\45\1\uffff\12\46\7\uffff\32\46\1\50\3\uffff\1\47\1\uffff"+
"\32\46",
""
};
static final short[] DFA35_eot = DFA.unpackEncodedString(DFA35_eotS);
static final short[] DFA35_eof = DFA.unpackEncodedString(DFA35_eofS);
static final char[] DFA35_min = DFA.unpackEncodedStringToUnsignedChars(DFA35_minS);
static final char[] DFA35_max = DFA.unpackEncodedStringToUnsignedChars(DFA35_maxS);
static final short[] DFA35_accept = DFA.unpackEncodedString(DFA35_acceptS);
static final short[] DFA35_special = DFA.unpackEncodedString(DFA35_specialS);
static final short[][] DFA35_transition;
static {
int numStates = DFA35_transitionS.length;
DFA35_transition = new short[numStates][];
for (int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy