Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
gov.nasa.pds.tools.label.antlr.ODLParser Maven / Gradle / Ivy
Go to download
The PDS3 Product Tools Library project supports design/generation, validation and submission of archival products to the PDS. This project consists of a library of software classes to support the development of tools to perform these functions and is designed to be utilized by developers from the Engineering Node, Discipline Nodes and the PDS community.
// $ANTLR 3.2 Sep 23, 2009 14:05:07 /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g 2019-06-28 13:16:16
package gov.nasa.pds.tools.label.antlr;
import gov.nasa.pds.tools.constants.Constants.ProblemType;
import gov.nasa.pds.tools.LabelParserException;
import gov.nasa.pds.tools.label.AttributeStatement;
import gov.nasa.pds.tools.label.CommentStatement;
import gov.nasa.pds.tools.label.DateTime;
import gov.nasa.pds.tools.label.GroupStatement;
import gov.nasa.pds.tools.label.Label;
import gov.nasa.pds.tools.label.Numeric;
import gov.nasa.pds.tools.label.ObjectStatement;
import gov.nasa.pds.tools.label.PointerResolver;
import gov.nasa.pds.tools.label.PointerStatement;
import gov.nasa.pds.tools.label.PointerStatementFactory;
import gov.nasa.pds.tools.label.Scalar;
import gov.nasa.pds.tools.label.Sequence;
import gov.nasa.pds.tools.label.Set;
import gov.nasa.pds.tools.label.Statement;
import gov.nasa.pds.tools.label.IncludePointer;
import gov.nasa.pds.tools.label.Symbol;
import gov.nasa.pds.tools.label.TextString;
import gov.nasa.pds.tools.label.ValueType;
import gov.nasa.pds.tools.label.Value;
import gov.nasa.pds.tools.util.AntlrUtils;
import java.io.File;
import java.io.IOException;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;@SuppressWarnings("all")
public class ODLParser extends Parser {
public static final String[] tokenNames = new String[] {
"", "", "", "", "END", "END_GROUP", "END_OBJECT", "COMMENT", "EOL", "IDENTIFIER", "UNITS", "INTEGER", "BASED_INTEGER", "REAL", "QUOTED", "BAD_TOKEN", "QUOTED_UNTERMINATED", "DATETIME", "SYMBOL", "SIGN", "DIGIT", "LETTER", "EXTENDED_DIGIT", "DIGITS", "SPECIALCHAR", "WS", "TIME", "INTEGER_OR_TIME", "'OBJECT'", "'='", "'GROUP'", "'^'", "'('", "')'", "','", "'{'", "'}'"
};
public static final int LETTER=21;
public static final int DIGITS=23;
public static final int COMMENT=7;
public static final int T__33=33;
public static final int T__34=34;
public static final int T__35=35;
public static final int T__36=36;
public static final int IDENTIFIER=9;
public static final int SIGN=19;
public static final int WS=25;
public static final int INTEGER_OR_TIME=27;
public static final int EOF=-1;
public static final int T__30=30;
public static final int UNITS=10;
public static final int T__31=31;
public static final int T__32=32;
public static final int INTEGER=11;
public static final int BASED_INTEGER=12;
public static final int EOL=8;
public static final int QUOTED=14;
public static final int EXTENDED_DIGIT=22;
public static final int BAD_TOKEN=15;
public static final int TIME=26;
public static final int QUOTED_UNTERMINATED=16;
public static final int DIGIT=20;
public static final int DATETIME=17;
public static final int SYMBOL=18;
public static final int SPECIALCHAR=24;
public static final int T__28=28;
public static final int T__29=29;
public static final int REAL=13;
public static final int END=4;
public static final int END_GROUP=5;
public static final int END_OBJECT=6;
// delegates
// delegators
public ODLParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public ODLParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return ODLParser.tokenNames; }
public String getGrammarFileName() { return "/Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g"; }
private PointerResolver pointerResolver;
private Boolean loadIncludes = true;
public void setPointerResolver(final PointerResolver pointerResolver) {
this.pointerResolver = pointerResolver;
}
public void setLoadIncludes(Boolean loadIncludes) {
this.loadIncludes = loadIncludes;
}
private Label label = null;
@Override
public void displayRecognitionError(String[] tokenNames,
RecognitionException e) {
if (label != null) {
if(e instanceof NoViableAltException) {
label.addProblem(e.line, e.charPositionInLine, "parser.error.noViableAlternative", ProblemType.PARSE_ERROR, e.token.getText());
} else if(e instanceof MissingTokenException) {
final MissingTokenException mte = (MissingTokenException) e;
String missing = tokenNames[mte.expecting];
label.addProblem(e.line, e.charPositionInLine, "parser.error.missingToken", ProblemType.PARSE_ERROR, missing, mte.token.getText());
} else if(e instanceof UnwantedTokenException) {
final UnwantedTokenException ute = (UnwantedTokenException) e;
String expectingToken = tokenNames[ute.expecting];
label.addProblem(e.line, e.charPositionInLine, "parser.error.extraToken", ProblemType.PARSE_ERROR, e.token.getText(), expectingToken);
} else {
// unhandled, if example found, do another instanceof case
String msg = getErrorMessage(e, tokenNames);
label.addProblem(e.line, e.charPositionInLine, "parser.error.unhandledException", ProblemType.PARSE_ERROR, msg, e.getClass().getName());
}
}
}
public void reportExtraTokens(final List extraTokens, final Value value, final String idText) {
if(extraTokens.size() > 0) {
final Token first = extraTokens.get(0);
String extraTokensString = value.toString() + ", ";
extraTokensString+= AntlrUtils.toSeparatedString(extraTokens);
label.addProblem(first.getLine(), first.getCharPositionInLine(), "parser.error.tooManyTokens", ProblemType.BAD_VALUE, extraTokensString, idText);
}
}
// $ANTLR start "dictionary"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:180:1: dictionary returns [List labels = new ArrayList()] : d= dictionary_section ( END d= dictionary_section )* ;
public final List dictionary() throws RecognitionException {
List labels = new ArrayList();
Label d = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:181:2: (d= dictionary_section ( END d= dictionary_section )* )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:181:4: d= dictionary_section ( END d= dictionary_section )*
{
pushFollow(FOLLOW_dictionary_section_in_dictionary141);
d=dictionary_section();
state._fsp--;
if (state.failed) return labels;
if ( state.backtracking==0 ) {
labels.add(d);
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:182:4: ( END d= dictionary_section )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==END) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:182:5: END d= dictionary_section
{
match(input,END,FOLLOW_END_in_dictionary149); if (state.failed) return labels;
pushFollow(FOLLOW_dictionary_section_in_dictionary153);
d=dictionary_section();
state._fsp--;
if (state.failed) return labels;
if ( state.backtracking==0 ) {
labels.add(d);
}
}
break;
default :
break loop1;
}
} while (true);
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return labels;
}
// $ANTLR end "dictionary"
// $ANTLR start "dictionary_section"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:185:1: dictionary_section returns [Label label = null] : (s= statement[label] )* ;
public final Label dictionary_section() throws RecognitionException {
Label label = null;
Statement s = null;
File file = null; label = new Label(file);this.label = label;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:187:5: ( (s= statement[label] )* )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:187:7: (s= statement[label] )*
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:187:7: (s= statement[label] )*
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
if ( ((LA2_0>=COMMENT && LA2_0<=IDENTIFIER)||(LA2_0>=28 && LA2_0<=31)) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:187:9: s= statement[label]
{
pushFollow(FOLLOW_statement_in_dictionary_section184);
s=statement(label);
state._fsp--;
if (state.failed) return label;
if ( state.backtracking==0 ) {
if (s != null) {label.addStatement(s);}
}
}
break;
default :
break loop2;
}
} while (true);
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return label;
}
// $ANTLR end "dictionary_section"
// $ANTLR start "label"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:191:1: label[Label label] : (s= statement[label] )* ( END | EOF ) ;
public final void label(Label label) throws RecognitionException {
Statement s = null;
this.label = label;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:193:5: ( (s= statement[label] )* ( END | EOF ) )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:193:7: (s= statement[label] )* ( END | EOF )
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:193:7: (s= statement[label] )*
loop3:
do {
int alt3=2;
int LA3_0 = input.LA(1);
if ( ((LA3_0>=COMMENT && LA3_0<=IDENTIFIER)||(LA3_0>=28 && LA3_0<=31)) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:193:9: s= statement[label]
{
pushFollow(FOLLOW_statement_in_label215);
s=statement(label);
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
if (s != null) {label.addStatement(s);}
}
}
break;
default :
break loop3;
}
} while (true);
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:194:7: ( END | EOF )
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==END) ) {
alt4=1;
}
else if ( (LA4_0==EOF) ) {
alt4=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 4, 0, input);
throw nvae;
}
switch (alt4) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:194:8: END
{
match(input,END,FOLLOW_END_in_label230); if (state.failed) return ;
if ( state.backtracking==0 ) {
label.setHasEndStatement();
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:194:44: EOF
{
match(input,EOF,FOLLOW_EOF_in_label236); if (state.failed) return ;
}
break;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ;
}
// $ANTLR end "label"
// $ANTLR start "statement"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:199:1: statement[Label label] returns [Statement result = null] : (s= simple_statement[label] | g= group_statement[label] | o= object_statement[label] );
public final Statement statement(Label label) throws RecognitionException {
Statement result = null;
Statement s = null;
GroupStatement g = null;
ObjectStatement o = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:200:5: (s= simple_statement[label] | g= group_statement[label] | o= object_statement[label] )
int alt5=3;
switch ( input.LA(1) ) {
case COMMENT:
case EOL:
case IDENTIFIER:
case 29:
case 31:
{
alt5=1;
}
break;
case 30:
{
alt5=2;
}
break;
case 28:
{
alt5=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 5, 0, input);
throw nvae;
}
switch (alt5) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:200:7: s= simple_statement[label]
{
pushFollow(FOLLOW_simple_statement_in_statement264);
s=simple_statement(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = s;
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:202:7: g= group_statement[label]
{
pushFollow(FOLLOW_group_statement_in_statement285);
g=group_statement(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = g;
}
}
break;
case 3 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:204:7: o= object_statement[label]
{
pushFollow(FOLLOW_object_statement_in_statement306);
o=object_statement(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = o;
}
}
break;
}
}
catch (RecognitionException re) {
while(input.LA(1)!= EOL && input.LA(1) != CharStream.EOF) {
input.consume();
}
if(input.LA(1) == EOL) {
input.consume();
}
label.addProblem(re.line, re.charPositionInLine, re.getMessage(), ProblemType.PARSE_ERROR);
}
finally {
}
return result;
}
// $ANTLR end "statement"
// $ANTLR start "simple_statement"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:218:1: simple_statement[Label label] returns [Statement result = null] : ( (c= COMMENT )? EOL | s= assignment_statement[label] | p= pointer_statement[label] );
public final Statement simple_statement(Label label) throws RecognitionException {
Statement result = null;
Token c=null;
AttributeStatement s = null;
PointerStatement p = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:219:5: ( (c= COMMENT )? EOL | s= assignment_statement[label] | p= pointer_statement[label] )
int alt7=3;
switch ( input.LA(1) ) {
case COMMENT:
case EOL:
{
alt7=1;
}
break;
case IDENTIFIER:
case 29:
{
alt7=2;
}
break;
case 31:
{
alt7=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 7, 0, input);
throw nvae;
}
switch (alt7) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:219:27: (c= COMMENT )? EOL
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:219:27: (c= COMMENT )?
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==COMMENT) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:219:28: c= COMMENT
{
c=(Token)match(input,COMMENT,FOLLOW_COMMENT_in_simple_statement354); if (state.failed) return result;
}
break;
}
match(input,EOL,FOLLOW_EOL_in_simple_statement358); if (state.failed) return result;
if ( state.backtracking==0 ) {
if (c == null) {
result = null;
} else {
result = new CommentStatement(label, c, null);
}
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:227:7: s= assignment_statement[label]
{
pushFollow(FOLLOW_assignment_statement_in_simple_statement378);
s=assignment_statement(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = s;
}
}
break;
case 3 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:231:7: p= pointer_statement[label]
{
pushFollow(FOLLOW_pointer_statement_in_simple_statement399);
p=pointer_statement(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = p;
}
}
break;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "simple_statement"
// $ANTLR start "object_statement"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:238:1: object_statement[Label label] returns [ObjectStatement result = null] : 'OBJECT' nl '=' nl id= IDENTIFIER (c= COMMENT )? EOL ( (~ ( END_OBJECT ) )=>s= statement[label] | (~ ( END_OBJECT | END | EOF | 'OBJECT' ) (~ ( EOL | END | EOF ) )* EOL )=>t= . (~ ( EOL | END | EOF ) )* EOL )* ( END_OBJECT | END | EOF )=> ( ( END_OBJECT )=> (t= END_OBJECT ( '=' id2= IDENTIFIER )? (c2= COMMENT )? EOL ) | ) ;
public final ObjectStatement object_statement(Label label) throws RecognitionException {
ObjectStatement result = null;
Token id=null;
Token c=null;
Token t=null;
Token id2=null;
Token c2=null;
Statement s = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:239:5: ( 'OBJECT' nl '=' nl id= IDENTIFIER (c= COMMENT )? EOL ( (~ ( END_OBJECT ) )=>s= statement[label] | (~ ( END_OBJECT | END | EOF | 'OBJECT' ) (~ ( EOL | END | EOF ) )* EOL )=>t= . (~ ( EOL | END | EOF ) )* EOL )* ( END_OBJECT | END | EOF )=> ( ( END_OBJECT )=> (t= END_OBJECT ( '=' id2= IDENTIFIER )? (c2= COMMENT )? EOL ) | ) )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:239:7: 'OBJECT' nl '=' nl id= IDENTIFIER (c= COMMENT )? EOL ( (~ ( END_OBJECT ) )=>s= statement[label] | (~ ( END_OBJECT | END | EOF | 'OBJECT' ) (~ ( EOL | END | EOF ) )* EOL )=>t= . (~ ( EOL | END | EOF ) )* EOL )* ( END_OBJECT | END | EOF )=> ( ( END_OBJECT )=> (t= END_OBJECT ( '=' id2= IDENTIFIER )? (c2= COMMENT )? EOL ) | )
{
match(input,28,FOLLOW_28_in_object_statement433); if (state.failed) return result;
pushFollow(FOLLOW_nl_in_object_statement435);
nl();
state._fsp--;
if (state.failed) return result;
match(input,29,FOLLOW_29_in_object_statement437); if (state.failed) return result;
pushFollow(FOLLOW_nl_in_object_statement439);
nl();
state._fsp--;
if (state.failed) return result;
id=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_object_statement443); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:239:40: (c= COMMENT )?
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==COMMENT) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:239:41: c= COMMENT
{
c=(Token)match(input,COMMENT,FOLLOW_COMMENT_in_object_statement448); if (state.failed) return result;
}
break;
}
match(input,EOL,FOLLOW_EOL_in_object_statement452); if (state.failed) return result;
if ( state.backtracking==0 ) {
result = new ObjectStatement(label, id.getLine(), id.getText());
result.attachComment(c);
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:244:7: ( (~ ( END_OBJECT ) )=>s= statement[label] | (~ ( END_OBJECT | END | EOF | 'OBJECT' ) (~ ( EOL | END | EOF ) )* EOL )=>t= . (~ ( EOL | END | EOF ) )* EOL )*
loop10:
do {
int alt10=3;
alt10 = dfa10.predict(input);
switch (alt10) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:245:9: (~ ( END_OBJECT ) )=>s= statement[label]
{
pushFollow(FOLLOW_statement_in_object_statement489);
s=statement(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
if (s != null) {result.addStatement(s);}
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:247:9: (~ ( END_OBJECT | END | EOF | 'OBJECT' ) (~ ( EOL | END | EOF ) )* EOL )=>t= . (~ ( EOL | END | EOF ) )* EOL
{
t=(Token)input.LT(1);
matchAny(input); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:247:73: (~ ( EOL | END | EOF ) )*
loop9:
do {
int alt9=2;
int LA9_0 = input.LA(1);
if ( ((LA9_0>=END_GROUP && LA9_0<=COMMENT)||(LA9_0>=IDENTIFIER && LA9_0<=36)) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:247:74: ~ ( EOL | END | EOF )
{
if ( (input.LA(1)>=END_GROUP && input.LA(1)<=COMMENT)||(input.LA(1)>=IDENTIFIER && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
break;
default :
break loop9;
}
} while (true);
match(input,EOL,FOLLOW_EOL_in_object_statement558); if (state.failed) return result;
if ( state.backtracking==0 ) {
label.addProblem(t.getLine(),t.getCharPositionInLine(), "parser.error.illegalStatementStart", ProblemType.PARSE_ERROR, t.getText());
}
}
break;
default :
break loop10;
}
} while (true);
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:31: ( ( END_OBJECT )=> (t= END_OBJECT ( '=' id2= IDENTIFIER )? (c2= COMMENT )? EOL ) | )
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==END_OBJECT) ) {
int LA13_1 = input.LA(2);
if ( (synpred4_ODL()) ) {
alt13=1;
}
else if ( (true) ) {
alt13=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 13, 1, input);
throw nvae;
}
}
else if ( (LA13_0==EOF||(LA13_0>=END && LA13_0<=END_GROUP)||(LA13_0>=COMMENT && LA13_0<=36)) ) {
alt13=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 13, 0, input);
throw nvae;
}
switch (alt13) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:33: ( END_OBJECT )=> (t= END_OBJECT ( '=' id2= IDENTIFIER )? (c2= COMMENT )? EOL )
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:49: (t= END_OBJECT ( '=' id2= IDENTIFIER )? (c2= COMMENT )? EOL )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:50: t= END_OBJECT ( '=' id2= IDENTIFIER )? (c2= COMMENT )? EOL
{
t=(Token)match(input,END_OBJECT,FOLLOW_END_OBJECT_in_object_statement618); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:65: ( '=' id2= IDENTIFIER )?
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0==29) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:66: '=' id2= IDENTIFIER
{
match(input,29,FOLLOW_29_in_object_statement621); if (state.failed) return result;
id2=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_object_statement627); if (state.failed) return result;
}
break;
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:89: (c2= COMMENT )?
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==COMMENT) ) {
alt12=1;
}
switch (alt12) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:90: c2= COMMENT
{
c2=(Token)match(input,COMMENT,FOLLOW_COMMENT_in_object_statement636); if (state.failed) return result;
}
break;
}
match(input,EOL,FOLLOW_EOL_in_object_statement640); if (state.failed) return result;
}
if ( state.backtracking==0 ) {
if (result != null && c2 != null) {
result.attachComment(c2);
}
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:258:10:
{
if ( state.backtracking==0 ) {
label.addProblem(id.getLine(),id.getCharPositionInLine(), "parser.error.missingEndObject", ProblemType.PARSE_ERROR, id.getText(), id.getLine());
}
}
break;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "object_statement"
// $ANTLR start "group_statement"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:263:1: group_statement[Label label] returns [GroupStatement result = null] : 'GROUP' nl '=' nl id= IDENTIFIER (c= COMMENT )? EOL ( (~ ( END_GROUP ) )=>s= simple_statement[label] | (~ ( END_GROUP | END | EOF ) )=>t= . (~ EOL )* EOL )* ( END_GROUP | END | EOF )=> ( ( END_GROUP )=> ( END_GROUP ( '=' id2= IDENTIFIER )? (c3= COMMENT )? EOL ) | ) ;
public final GroupStatement group_statement(Label label) throws RecognitionException {
GroupStatement result = null;
Token id=null;
Token c=null;
Token t=null;
Token id2=null;
Token c3=null;
Statement s = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:264:5: ( 'GROUP' nl '=' nl id= IDENTIFIER (c= COMMENT )? EOL ( (~ ( END_GROUP ) )=>s= simple_statement[label] | (~ ( END_GROUP | END | EOF ) )=>t= . (~ EOL )* EOL )* ( END_GROUP | END | EOF )=> ( ( END_GROUP )=> ( END_GROUP ( '=' id2= IDENTIFIER )? (c3= COMMENT )? EOL ) | ) )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:264:7: 'GROUP' nl '=' nl id= IDENTIFIER (c= COMMENT )? EOL ( (~ ( END_GROUP ) )=>s= simple_statement[label] | (~ ( END_GROUP | END | EOF ) )=>t= . (~ EOL )* EOL )* ( END_GROUP | END | EOF )=> ( ( END_GROUP )=> ( END_GROUP ( '=' id2= IDENTIFIER )? (c3= COMMENT )? EOL ) | )
{
match(input,30,FOLLOW_30_in_group_statement690); if (state.failed) return result;
pushFollow(FOLLOW_nl_in_group_statement692);
nl();
state._fsp--;
if (state.failed) return result;
match(input,29,FOLLOW_29_in_group_statement694); if (state.failed) return result;
pushFollow(FOLLOW_nl_in_group_statement696);
nl();
state._fsp--;
if (state.failed) return result;
id=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_group_statement700); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:264:39: (c= COMMENT )?
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==COMMENT) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:264:40: c= COMMENT
{
c=(Token)match(input,COMMENT,FOLLOW_COMMENT_in_group_statement705); if (state.failed) return result;
}
break;
}
match(input,EOL,FOLLOW_EOL_in_group_statement709); if (state.failed) return result;
if ( state.backtracking==0 ) {
result = new GroupStatement(label, id.getLine(), id.getText());
result.attachComment(c);
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:269:7: ( (~ ( END_GROUP ) )=>s= simple_statement[label] | (~ ( END_GROUP | END | EOF ) )=>t= . (~ EOL )* EOL )*
loop16:
do {
int alt16=3;
alt16 = dfa16.predict(input);
switch (alt16) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:270:9: (~ ( END_GROUP ) )=>s= simple_statement[label]
{
pushFollow(FOLLOW_simple_statement_in_group_statement746);
s=simple_statement(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
if (s != null) {result.addStatement(s);}
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:272:9: (~ ( END_GROUP | END | EOF ) )=>t= . (~ EOL )* EOL
{
t=(Token)input.LT(1);
matchAny(input); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:272:41: (~ EOL )*
loop15:
do {
int alt15=2;
int LA15_0 = input.LA(1);
if ( ((LA15_0>=END && LA15_0<=COMMENT)||(LA15_0>=IDENTIFIER && LA15_0<=36)) ) {
alt15=1;
}
switch (alt15) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:272:42: ~ EOL
{
if ( (input.LA(1)>=END && input.LA(1)<=COMMENT)||(input.LA(1)>=IDENTIFIER && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
break;
default :
break loop15;
}
} while (true);
match(input,EOL,FOLLOW_EOL_in_group_statement793); if (state.failed) return result;
if ( state.backtracking==0 ) {
label.addProblem(t.getLine(), t.getCharPositionInLine(), "parser.error.illegalStatementStart", ProblemType.PARSE_ERROR, t.getText());
}
}
break;
default :
break loop16;
}
} while (true);
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:30: ( ( END_GROUP )=> ( END_GROUP ( '=' id2= IDENTIFIER )? (c3= COMMENT )? EOL ) | )
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0==END_GROUP) ) {
switch ( input.LA(2) ) {
case 29:
{
int LA19_3 = input.LA(3);
if ( (LA19_3==IDENTIFIER) ) {
switch ( input.LA(4) ) {
case COMMENT:
{
int LA19_5 = input.LA(5);
if ( (LA19_5==EOL) ) {
int LA19_4 = input.LA(6);
if ( (synpred8_ODL()) ) {
alt19=1;
}
else if ( (true) ) {
alt19=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 19, 4, input);
throw nvae;
}
}
else if ( ((LA19_5>=END_GROUP && LA19_5<=COMMENT)||(LA19_5>=IDENTIFIER && LA19_5<=36)) ) {
alt19=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 19, 5, input);
throw nvae;
}
}
break;
case EOL:
{
int LA19_4 = input.LA(5);
if ( (synpred8_ODL()) ) {
alt19=1;
}
else if ( (true) ) {
alt19=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 19, 4, input);
throw nvae;
}
}
break;
case END_GROUP:
case END_OBJECT:
case IDENTIFIER:
case UNITS:
case INTEGER:
case BASED_INTEGER:
case REAL:
case QUOTED:
case BAD_TOKEN:
case QUOTED_UNTERMINATED:
case DATETIME:
case SYMBOL:
case SIGN:
case DIGIT:
case LETTER:
case EXTENDED_DIGIT:
case DIGITS:
case SPECIALCHAR:
case WS:
case TIME:
case INTEGER_OR_TIME:
case 28:
case 29:
case 30:
case 31:
case 32:
case 33:
case 34:
case 35:
case 36:
{
alt19=2;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 19, 6, input);
throw nvae;
}
}
else if ( ((LA19_3>=END_GROUP && LA19_3<=EOL)||(LA19_3>=UNITS && LA19_3<=36)) ) {
alt19=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 19, 3, input);
throw nvae;
}
}
break;
case EOL:
{
int LA19_4 = input.LA(3);
if ( (synpred8_ODL()) ) {
alt19=1;
}
else if ( (true) ) {
alt19=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 19, 4, input);
throw nvae;
}
}
break;
case COMMENT:
{
int LA19_5 = input.LA(3);
if ( (LA19_5==EOL) ) {
int LA19_4 = input.LA(4);
if ( (synpred8_ODL()) ) {
alt19=1;
}
else if ( (true) ) {
alt19=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 19, 4, input);
throw nvae;
}
}
else if ( ((LA19_5>=END_GROUP && LA19_5<=COMMENT)||(LA19_5>=IDENTIFIER && LA19_5<=36)) ) {
alt19=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 19, 5, input);
throw nvae;
}
}
break;
case END_GROUP:
case END_OBJECT:
case IDENTIFIER:
case UNITS:
case INTEGER:
case BASED_INTEGER:
case REAL:
case QUOTED:
case BAD_TOKEN:
case QUOTED_UNTERMINATED:
case DATETIME:
case SYMBOL:
case SIGN:
case DIGIT:
case LETTER:
case EXTENDED_DIGIT:
case DIGITS:
case SPECIALCHAR:
case WS:
case TIME:
case INTEGER_OR_TIME:
case 28:
case 30:
case 31:
case 32:
case 33:
case 34:
case 35:
case 36:
{
alt19=2;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 19, 1, input);
throw nvae;
}
}
else if ( (LA19_0==EOF||LA19_0==END||(LA19_0>=END_OBJECT && LA19_0<=36)) ) {
alt19=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 19, 0, input);
throw nvae;
}
switch (alt19) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:32: ( END_GROUP )=> ( END_GROUP ( '=' id2= IDENTIFIER )? (c3= COMMENT )? EOL )
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:47: ( END_GROUP ( '=' id2= IDENTIFIER )? (c3= COMMENT )? EOL )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:48: END_GROUP ( '=' id2= IDENTIFIER )? (c3= COMMENT )? EOL
{
match(input,END_GROUP,FOLLOW_END_GROUP_in_group_statement842); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:58: ( '=' id2= IDENTIFIER )?
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==29) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:59: '=' id2= IDENTIFIER
{
match(input,29,FOLLOW_29_in_group_statement845); if (state.failed) return result;
id2=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_group_statement849); if (state.failed) return result;
}
break;
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:80: (c3= COMMENT )?
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==COMMENT) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:81: c3= COMMENT
{
c3=(Token)match(input,COMMENT,FOLLOW_COMMENT_in_group_statement856); if (state.failed) return result;
}
break;
}
match(input,EOL,FOLLOW_EOL_in_group_statement860); if (state.failed) return result;
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:278:4:
{
if ( state.backtracking==0 ) {
label.addProblem(id.getLine(),id.getCharPositionInLine(), "parser.error.missingEndGroup", ProblemType.PARSE_ERROR, id.getText(), id.getLine());
}
}
break;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "group_statement"
// $ANTLR start "pointer_statement"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:283:1: pointer_statement[Label label] returns [PointerStatement result = null] : '^' a= assignment_statement[label] ;
public final PointerStatement pointer_statement(Label label) throws RecognitionException {
PointerStatement result = null;
AttributeStatement a = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:284:5: ( '^' a= assignment_statement[label] )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:284:7: '^' a= assignment_statement[label]
{
match(input,31,FOLLOW_31_in_pointer_statement898); if (state.failed) return result;
pushFollow(FOLLOW_assignment_statement_in_pointer_statement902);
a=assignment_statement(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
if(a != null) {
result = PointerStatementFactory.newInstance(label, a.getLineNumber(), a.getIdentifier().getId(), a.getValue());
if (loadIncludes && result != null && result instanceof IncludePointer) {
IncludePointer sp = (IncludePointer) result;
try {
// When using ManualPathResolver problems will be added at this time to the pointer's label.
// This is a different behavior than the StandardPathResolver and reference checking will need
// at a higher level to be done.
sp.loadReferencedStatements(label, this.pointerResolver);
} catch (LabelParserException lpe) {
// don't add problem since for a different file
//label.addProblem(lpe);
} catch (IOException ioe) {
// for now, missing files are tested elsewhere
// label.addProblem(a.getLineNumber(), ioe.getMessage(), ProblemType.PARSE_ERROR);
}
}
}
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "pointer_statement"
// $ANTLR start "assignment_statement"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:308:1: assignment_statement[Label label] returns [AttributeStatement result = null] : ( ( ( IDENTIFIER )? '=' ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | UNITS ) )* ( COMMENT )? EOL )=> ( (id= IDENTIFIER )? eq= '=' (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | UNITS ) )* (c= COMMENT )? EOL ) | ( ( IDENTIFIER )? '=' ( COMMENT )? ( EOL )+ ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | '=' | UNITS ) )* ( COMMENT )? EOL )=> ( (id= IDENTIFIER )? eq= '=' ( EOL )+ (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | '=' | UNITS ) )* (c= COMMENT )? EOL ) | ( (id= IDENTIFIER )? eq= '=' (c= COMMENT )? EOL ) | ( IDENTIFIER '=' QUOTED_UNTERMINATED EOF )=> ( (id= IDENTIFIER ) eq= '=' txt= text_string_value_unterminated[label] ) );
public final AttributeStatement assignment_statement(Label label) throws RecognitionException {
AttributeStatement result = null;
Token id=null;
Token eq=null;
Token extra=null;
Token c=null;
Value v = null;
TextString b = null;
TextString txt = null;
List extraTokens=new ArrayList();
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:5: ( ( ( IDENTIFIER )? '=' ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | UNITS ) )* ( COMMENT )? EOL )=> ( (id= IDENTIFIER )? eq= '=' (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | UNITS ) )* (c= COMMENT )? EOL ) | ( ( IDENTIFIER )? '=' ( COMMENT )? ( EOL )+ ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | '=' | UNITS ) )* ( COMMENT )? EOL )=> ( (id= IDENTIFIER )? eq= '=' ( EOL )+ (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | '=' | UNITS ) )* (c= COMMENT )? EOL ) | ( (id= IDENTIFIER )? eq= '=' (c= COMMENT )? EOL ) | ( IDENTIFIER '=' QUOTED_UNTERMINATED EOF )=> ( (id= IDENTIFIER ) eq= '=' txt= text_string_value_unterminated[label] ) )
int alt31=4;
alt31 = dfa31.predict(input);
switch (alt31) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:9: ( ( IDENTIFIER )? '=' ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | UNITS ) )* ( COMMENT )? EOL )=> ( (id= IDENTIFIER )? eq= '=' (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | UNITS ) )* (c= COMMENT )? EOL )
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:13: ( (id= IDENTIFIER )? eq= '=' (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | UNITS ) )* (c= COMMENT )? EOL )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:14: (id= IDENTIFIER )? eq= '=' (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | UNITS ) )* (c= COMMENT )? EOL
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:14: (id= IDENTIFIER )?
int alt20=2;
int LA20_0 = input.LA(1);
if ( (LA20_0==IDENTIFIER) ) {
alt20=1;
}
switch (alt20) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:15: id= IDENTIFIER
{
id=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_assignment_statement993); if (state.failed) return result;
}
break;
}
eq=(Token)match(input,29,FOLLOW_29_in_assignment_statement1001); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:42: (v= value[label] | b= bad_value[label] )
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==IDENTIFIER||(LA21_0>=INTEGER && LA21_0<=QUOTED)||(LA21_0>=DATETIME && LA21_0<=SYMBOL)||LA21_0==32||LA21_0==35) ) {
alt21=1;
}
else if ( (LA21_0==BAD_TOKEN) ) {
alt21=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 21, 0, input);
throw nvae;
}
switch (alt21) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:43: v= value[label]
{
pushFollow(FOLLOW_value_in_assignment_statement1008);
v=value(label);
state._fsp--;
if (state.failed) return result;
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:60: b= bad_value[label]
{
pushFollow(FOLLOW_bad_value_in_assignment_statement1015);
b=bad_value(label);
state._fsp--;
if (state.failed) return result;
}
break;
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:82: (extra=~ ( COMMENT | EOL | UNITS ) )*
loop22:
do {
int alt22=2;
int LA22_0 = input.LA(1);
if ( ((LA22_0>=END && LA22_0<=END_OBJECT)||LA22_0==IDENTIFIER||(LA22_0>=INTEGER && LA22_0<=36)) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:83: extra=~ ( COMMENT | EOL | UNITS )
{
extra=(Token)input.LT(1);
if ( (input.LA(1)>=END && input.LA(1)<=END_OBJECT)||input.LA(1)==IDENTIFIER||(input.LA(1)>=INTEGER && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
if ( state.backtracking==0 ) {
extraTokens.add(extra);
}
}
break;
default :
break loop22;
}
} while (true);
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:141: (c= COMMENT )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==COMMENT) ) {
alt23=1;
}
switch (alt23) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:314:142: c= COMMENT
{
c=(Token)match(input,COMMENT,FOLLOW_COMMENT_in_assignment_statement1043); if (state.failed) return result;
}
break;
}
match(input,EOL,FOLLOW_EOL_in_assignment_statement1047); if (state.failed) return result;
}
if ( state.backtracking==0 ) {
int line = eq.getLine();
Value val = v != null ? v : b;
String idText = id != null ? id.getText() : "";
result = new AttributeStatement(label, line, idText, val);
reportExtraTokens(extraTokens, val, idText);
result.attachComment(c);
// report if bad value
if(b != null) {
label.addProblem(line, null, "parser.error.badValue", ProblemType.BAD_VALUE, idText, b.getValue());
}
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:11: ( ( IDENTIFIER )? '=' ( COMMENT )? ( EOL )+ ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | '=' | UNITS ) )* ( COMMENT )? EOL )=> ( (id= IDENTIFIER )? eq= '=' ( EOL )+ (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | '=' | UNITS ) )* (c= COMMENT )? EOL )
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:13: ( (id= IDENTIFIER )? eq= '=' ( EOL )+ (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | '=' | UNITS ) )* (c= COMMENT )? EOL )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:14: (id= IDENTIFIER )? eq= '=' ( EOL )+ (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | '=' | UNITS ) )* (c= COMMENT )? EOL
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:14: (id= IDENTIFIER )?
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0==IDENTIFIER) ) {
alt24=1;
}
switch (alt24) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:15: id= IDENTIFIER
{
id=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_assignment_statement1129); if (state.failed) return result;
}
break;
}
eq=(Token)match(input,29,FOLLOW_29_in_assignment_statement1137); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:42: ( EOL )+
int cnt25=0;
loop25:
do {
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==EOL) ) {
alt25=1;
}
switch (alt25) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:42: EOL
{
match(input,EOL,FOLLOW_EOL_in_assignment_statement1139); if (state.failed) return result;
}
break;
default :
if ( cnt25 >= 1 ) break loop25;
if (state.backtracking>0) {state.failed=true; return result;}
EarlyExitException eee =
new EarlyExitException(25, input);
throw eee;
}
cnt25++;
} while (true);
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:47: (v= value[label] | b= bad_value[label] )
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==IDENTIFIER||(LA26_0>=INTEGER && LA26_0<=QUOTED)||(LA26_0>=DATETIME && LA26_0<=SYMBOL)||LA26_0==32||LA26_0==35) ) {
alt26=1;
}
else if ( (LA26_0==BAD_TOKEN) ) {
alt26=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 26, 0, input);
throw nvae;
}
switch (alt26) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:48: v= value[label]
{
pushFollow(FOLLOW_value_in_assignment_statement1147);
v=value(label);
state._fsp--;
if (state.failed) return result;
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:65: b= bad_value[label]
{
pushFollow(FOLLOW_bad_value_in_assignment_statement1154);
b=bad_value(label);
state._fsp--;
if (state.failed) return result;
}
break;
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:87: (extra=~ ( COMMENT | EOL | '=' | UNITS ) )*
loop27:
do {
int alt27=2;
int LA27_0 = input.LA(1);
if ( ((LA27_0>=END && LA27_0<=END_OBJECT)||LA27_0==IDENTIFIER||(LA27_0>=INTEGER && LA27_0<=28)||(LA27_0>=30 && LA27_0<=36)) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:88: extra=~ ( COMMENT | EOL | '=' | UNITS )
{
extra=(Token)input.LT(1);
if ( (input.LA(1)>=END && input.LA(1)<=END_OBJECT)||input.LA(1)==IDENTIFIER||(input.LA(1)>=INTEGER && input.LA(1)<=28)||(input.LA(1)>=30 && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
if ( state.backtracking==0 ) {
extraTokens.add(extra);
}
}
break;
default :
break loop27;
}
} while (true);
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:150: (c= COMMENT )?
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==COMMENT) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:332:151: c= COMMENT
{
c=(Token)match(input,COMMENT,FOLLOW_COMMENT_in_assignment_statement1184); if (state.failed) return result;
}
break;
}
match(input,EOL,FOLLOW_EOL_in_assignment_statement1188); if (state.failed) return result;
}
if ( state.backtracking==0 ) {
int line = eq.getLine();
Value val = v != null ? v : b;
String idText = id != null ? id.getText() : "";
result = new AttributeStatement(label, line, idText, val);
reportExtraTokens(extraTokens, val, idText);
result.attachComment(c);
}
}
break;
case 3 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:344:11: ( (id= IDENTIFIER )? eq= '=' (c= COMMENT )? EOL )
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:344:11: ( (id= IDENTIFIER )? eq= '=' (c= COMMENT )? EOL )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:344:12: (id= IDENTIFIER )? eq= '=' (c= COMMENT )? EOL
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:344:12: (id= IDENTIFIER )?
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==IDENTIFIER) ) {
alt29=1;
}
switch (alt29) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:344:13: id= IDENTIFIER
{
id=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_assignment_statement1218); if (state.failed) return result;
}
break;
}
eq=(Token)match(input,29,FOLLOW_29_in_assignment_statement1226); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:344:40: (c= COMMENT )?
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==COMMENT) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:344:41: c= COMMENT
{
c=(Token)match(input,COMMENT,FOLLOW_COMMENT_in_assignment_statement1233); if (state.failed) return result;
}
break;
}
match(input,EOL,FOLLOW_EOL_in_assignment_statement1237); if (state.failed) return result;
}
if ( state.backtracking==0 ) {
int line = eq.getLine();
String idText = id != null ? id.getText() : "";
result = new AttributeStatement(label, line, idText, null);
result.attachComment(c);
}
}
break;
case 4 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:353:11: ( IDENTIFIER '=' QUOTED_UNTERMINATED EOF )=> ( (id= IDENTIFIER ) eq= '=' txt= text_string_value_unterminated[label] )
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:354:9: ( (id= IDENTIFIER ) eq= '=' txt= text_string_value_unterminated[label] )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:354:10: (id= IDENTIFIER ) eq= '=' txt= text_string_value_unterminated[label]
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:354:10: (id= IDENTIFIER )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:354:11: id= IDENTIFIER
{
id=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_assignment_statement1297); if (state.failed) return result;
}
eq=(Token)match(input,29,FOLLOW_29_in_assignment_statement1304); if (state.failed) return result;
pushFollow(FOLLOW_text_string_value_unterminated_in_assignment_statement1310);
txt=text_string_value_unterminated(label);
state._fsp--;
if (state.failed) return result;
}
if ( state.backtracking==0 ) {
int line = eq.getLine();
String idText = id != null ? id.getText() : "";
label.addProblem(line, null, "parser.error.missingEndQuote", ProblemType.BAD_VALUE, idText);
result = new AttributeStatement(label, line, idText, txt);
}
}
break;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "assignment_statement"
// $ANTLR start "value"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:365:1: value[Label label] returns [Value result = null] : (v1= scalar_value[label] | v2= sequence_value[label] | v3= set_value[label] );
public final Value value(Label label) throws RecognitionException {
Value result = null;
Scalar v1 = null;
Sequence v2 = null;
Set v3 = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:366:5: (v1= scalar_value[label] | v2= sequence_value[label] | v3= set_value[label] )
int alt32=3;
switch ( input.LA(1) ) {
case IDENTIFIER:
case INTEGER:
case BASED_INTEGER:
case REAL:
case QUOTED:
case DATETIME:
case SYMBOL:
{
alt32=1;
}
break;
case 32:
{
alt32=2;
}
break;
case 35:
{
alt32=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 32, 0, input);
throw nvae;
}
switch (alt32) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:366:7: v1= scalar_value[label]
{
pushFollow(FOLLOW_scalar_value_in_value1343);
v1=scalar_value(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = v1;
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:368:7: v2= sequence_value[label]
{
pushFollow(FOLLOW_sequence_value_in_value1364);
v2=sequence_value(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = v2;
}
}
break;
case 3 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:370:7: v3= set_value[label]
{
pushFollow(FOLLOW_set_value_in_value1385);
v3=set_value(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = v3;
}
}
break;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "value"
// $ANTLR start "scalar_value"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:375:1: scalar_value[Label label] returns [Scalar result = null] : (n= numeric_value[label] | d= date_time_value[label] | t= text_string_value[label] | s= symbol_value[label] );
public final Scalar scalar_value(Label label) throws RecognitionException {
Scalar result = null;
Numeric n = null;
DateTime d = null;
TextString t = null;
Symbol s = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:376:5: (n= numeric_value[label] | d= date_time_value[label] | t= text_string_value[label] | s= symbol_value[label] )
int alt33=4;
switch ( input.LA(1) ) {
case INTEGER:
case BASED_INTEGER:
case REAL:
{
alt33=1;
}
break;
case DATETIME:
{
alt33=2;
}
break;
case QUOTED:
{
alt33=3;
}
break;
case IDENTIFIER:
case SYMBOL:
{
alt33=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 33, 0, input);
throw nvae;
}
switch (alt33) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:376:7: n= numeric_value[label]
{
pushFollow(FOLLOW_numeric_value_in_scalar_value1421);
n=numeric_value(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = n;
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:378:7: d= date_time_value[label]
{
pushFollow(FOLLOW_date_time_value_in_scalar_value1442);
d=date_time_value(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = d;
}
}
break;
case 3 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:380:7: t= text_string_value[label]
{
pushFollow(FOLLOW_text_string_value_in_scalar_value1463);
t=text_string_value(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = t;
}
}
break;
case 4 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:382:7: s= symbol_value[label]
{
pushFollow(FOLLOW_symbol_value_in_scalar_value1484);
s=symbol_value(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = s;
}
}
break;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "scalar_value"
// $ANTLR start "numeric_value"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:387:1: numeric_value[Label label] returns [Numeric result = null] : (i= INTEGER (u= UNITS )? | b= BASED_INTEGER (u1= UNITS )? | r= REAL (u2= UNITS )? );
public final Numeric numeric_value(Label label) throws RecognitionException {
Numeric result = null;
Token i=null;
Token u=null;
Token b=null;
Token u1=null;
Token r=null;
Token u2=null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:388:5: (i= INTEGER (u= UNITS )? | b= BASED_INTEGER (u1= UNITS )? | r= REAL (u2= UNITS )? )
int alt37=3;
switch ( input.LA(1) ) {
case INTEGER:
{
alt37=1;
}
break;
case BASED_INTEGER:
{
alt37=2;
}
break;
case REAL:
{
alt37=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 37, 0, input);
throw nvae;
}
switch (alt37) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:388:7: i= INTEGER (u= UNITS )?
{
i=(Token)match(input,INTEGER,FOLLOW_INTEGER_in_numeric_value1520); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:388:17: (u= UNITS )?
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==UNITS) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:388:18: u= UNITS
{
u=(Token)match(input,UNITS,FOLLOW_UNITS_in_numeric_value1525); if (state.failed) return result;
}
break;
}
if ( state.backtracking==0 ) {
result = new Numeric(i.getText());
if (u != null) {result.setUnits(u.getText());}
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:393:7: b= BASED_INTEGER (u1= UNITS )?
{
b=(Token)match(input,BASED_INTEGER,FOLLOW_BASED_INTEGER_in_numeric_value1547); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:393:23: (u1= UNITS )?
int alt35=2;
int LA35_0 = input.LA(1);
if ( (LA35_0==UNITS) ) {
alt35=1;
}
switch (alt35) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:393:24: u1= UNITS
{
u1=(Token)match(input,UNITS,FOLLOW_UNITS_in_numeric_value1552); if (state.failed) return result;
}
break;
}
if ( state.backtracking==0 ) {
result = new Numeric(b.getText());
if (u1 != null) {result.setUnits(u1.getText());}
}
}
break;
case 3 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:398:7: r= REAL (u2= UNITS )?
{
r=(Token)match(input,REAL,FOLLOW_REAL_in_numeric_value1574); if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:398:14: (u2= UNITS )?
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==UNITS) ) {
alt36=1;
}
switch (alt36) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:398:15: u2= UNITS
{
u2=(Token)match(input,UNITS,FOLLOW_UNITS_in_numeric_value1579); if (state.failed) return result;
}
break;
}
if ( state.backtracking==0 ) {
result = new Numeric(r.getText());
if (u2 != null) {result.setUnits(u2.getText());}
}
}
break;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "numeric_value"
// $ANTLR start "text_string_value"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:406:1: text_string_value[Label label] returns [TextString result = null] : q= QUOTED ;
public final TextString text_string_value(Label label) throws RecognitionException {
TextString result = null;
Token q=null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:407:5: (q= QUOTED )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:407:7: q= QUOTED
{
q=(Token)match(input,QUOTED,FOLLOW_QUOTED_in_text_string_value1616); if (state.failed) return result;
if ( state.backtracking==0 ) {
result = new TextString(q.getText(), ValueType.DOUBLE_QUOTED);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "text_string_value"
// $ANTLR start "bad_value"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:411:1: bad_value[Label label] returns [TextString result = null] : v= BAD_TOKEN ;
public final TextString bad_value(Label label) throws RecognitionException {
TextString result = null;
Token v=null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:412:2: (v= BAD_TOKEN )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:412:4: v= BAD_TOKEN
{
v=(Token)match(input,BAD_TOKEN,FOLLOW_BAD_TOKEN_in_bad_value1647); if (state.failed) return result;
if ( state.backtracking==0 ) {
result = new TextString(v.getText());
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "bad_value"
// $ANTLR start "text_string_value_unterminated"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:417:1: text_string_value_unterminated[Label label] returns [TextString result = null] : q= QUOTED_UNTERMINATED ;
public final TextString text_string_value_unterminated(Label label) throws RecognitionException {
TextString result = null;
Token q=null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:418:5: (q= QUOTED_UNTERMINATED )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:418:7: q= QUOTED_UNTERMINATED
{
q=(Token)match(input,QUOTED_UNTERMINATED,FOLLOW_QUOTED_UNTERMINATED_in_text_string_value_unterminated1672); if (state.failed) return result;
if ( state.backtracking==0 ) {
result = new TextString(q.getText(), ValueType.QUOTED_UNTERMINATED);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "text_string_value_unterminated"
// $ANTLR start "date_time_value"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:423:1: date_time_value[Label label] returns [DateTime result = null] : dt= DATETIME ;
public final DateTime date_time_value(Label label) throws RecognitionException {
DateTime result = null;
Token dt=null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:424:5: (dt= DATETIME )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:424:7: dt= DATETIME
{
dt=(Token)match(input,DATETIME,FOLLOW_DATETIME_in_date_time_value1704); if (state.failed) return result;
if ( state.backtracking==0 ) {
try {
result = new DateTime(label, dt.getText(), dt.getLine());
} catch (LabelParserException pe) {
label.addProblem(pe);
try {
// Try again to parse the date, leniently,
// so we have a valid date value, even though
// we've recorded a problem. (That way if the
// date is close to correct, we can still get
// the right value, so we can do comparisons on
// different date values.)
result = new DateTime(label, dt.getText(), dt.getLine(), true);
} catch (LabelParserException pe2) {
// ignore
}
}
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "date_time_value"
// $ANTLR start "symbol_value"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:446:1: symbol_value[Label label] returns [Symbol result = null] : (id= IDENTIFIER | qs= SYMBOL );
public final Symbol symbol_value(Label label) throws RecognitionException {
Symbol result = null;
Token id=null;
Token qs=null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:447:5: (id= IDENTIFIER | qs= SYMBOL )
int alt38=2;
int LA38_0 = input.LA(1);
if ( (LA38_0==IDENTIFIER) ) {
alt38=1;
}
else if ( (LA38_0==SYMBOL) ) {
alt38=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 38, 0, input);
throw nvae;
}
switch (alt38) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:447:7: id= IDENTIFIER
{
id=(Token)match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_symbol_value1739); if (state.failed) return result;
if ( state.backtracking==0 ) {
result = new Symbol(id.getText());
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:449:7: qs= SYMBOL
{
qs=(Token)match(input,SYMBOL,FOLLOW_SYMBOL_in_symbol_value1759); if (state.failed) return result;
if ( state.backtracking==0 ) {
result = new Symbol(qs.getText(), ValueType.SINGLE_QUOTED);
}
}
break;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "symbol_value"
// $ANTLR start "sequence_value"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:453:1: sequence_value[Label label] returns [Sequence result = null] : ( ( '(' nl '(' )=>s1= sequence_2d[label] | s2= sequence_1d[label] );
public final Sequence sequence_value(Label label) throws RecognitionException {
Sequence result = null;
Sequence s1 = null;
Sequence s2 = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:454:5: ( ( '(' nl '(' )=>s1= sequence_2d[label] | s2= sequence_1d[label] )
int alt39=2;
alt39 = dfa39.predict(input);
switch (alt39) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:454:7: ( '(' nl '(' )=>s1= sequence_2d[label]
{
pushFollow(FOLLOW_sequence_2d_in_sequence_value1803);
s1=sequence_2d(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = s1;
}
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:456:7: s2= sequence_1d[label]
{
pushFollow(FOLLOW_sequence_1d_in_sequence_value1824);
s2=sequence_1d(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result = s2;
}
}
break;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "sequence_value"
// $ANTLR start "sequence_1d"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:460:1: sequence_1d[Label label] returns [Sequence result = null] : '(' nl s= scalar_list[label] ')' ;
public final Sequence sequence_1d(Label label) throws RecognitionException {
Sequence result = null;
Sequence s = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:461:5: ( '(' nl s= scalar_list[label] ')' )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:461:7: '(' nl s= scalar_list[label] ')'
{
match(input,32,FOLLOW_32_in_sequence_1d1857); if (state.failed) return result;
pushFollow(FOLLOW_nl_in_sequence_1d1859);
nl();
state._fsp--;
if (state.failed) return result;
pushFollow(FOLLOW_scalar_list_in_sequence_1d1863);
s=scalar_list(label);
state._fsp--;
if (state.failed) return result;
match(input,33,FOLLOW_33_in_sequence_1d1866); if (state.failed) return result;
if ( state.backtracking==0 ) {
result = s;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "sequence_1d"
// $ANTLR start "scalar_list"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:465:1: scalar_list[Label label] returns [Sequence result=new Sequence()] : ( | s= scalar_value[label] nl ( ( ',' nl )? s2= scalar_value[label] nl )* );
public final Sequence scalar_list(Label label) throws RecognitionException {
Sequence result = new Sequence();
Scalar s = null;
Scalar s2 = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:466:5: ( | s= scalar_value[label] nl ( ( ',' nl )? s2= scalar_value[label] nl )* )
int alt42=2;
int LA42_0 = input.LA(1);
if ( (LA42_0==33) ) {
alt42=1;
}
else if ( (LA42_0==IDENTIFIER||(LA42_0>=INTEGER && LA42_0<=QUOTED)||(LA42_0>=DATETIME && LA42_0<=SYMBOL)) ) {
alt42=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 42, 0, input);
throw nvae;
}
switch (alt42) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:467:5:
{
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:467:7: s= scalar_value[label] nl ( ( ',' nl )? s2= scalar_value[label] nl )*
{
pushFollow(FOLLOW_scalar_value_in_scalar_list1908);
s=scalar_value(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result.add(s);
}
pushFollow(FOLLOW_nl_in_scalar_list1913);
nl();
state._fsp--;
if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:468:9: ( ( ',' nl )? s2= scalar_value[label] nl )*
loop41:
do {
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==IDENTIFIER||(LA41_0>=INTEGER && LA41_0<=QUOTED)||(LA41_0>=DATETIME && LA41_0<=SYMBOL)||LA41_0==34) ) {
alt41=1;
}
switch (alt41) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:468:10: ( ',' nl )? s2= scalar_value[label] nl
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:468:10: ( ',' nl )?
int alt40=2;
int LA40_0 = input.LA(1);
if ( (LA40_0==34) ) {
alt40=1;
}
switch (alt40) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:468:11: ',' nl
{
match(input,34,FOLLOW_34_in_scalar_list1925); if (state.failed) return result;
pushFollow(FOLLOW_nl_in_scalar_list1927);
nl();
state._fsp--;
if (state.failed) return result;
}
break;
}
pushFollow(FOLLOW_scalar_value_in_scalar_list1933);
s2=scalar_value(label);
state._fsp--;
if (state.failed) return result;
pushFollow(FOLLOW_nl_in_scalar_list1936);
nl();
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result.add(s2);
}
}
break;
default :
break loop41;
}
} while (true);
}
break;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "scalar_list"
// $ANTLR start "sequence_2d"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:471:1: sequence_2d[Label label] returns [Sequence result = null] : '(' nl s= sequence_list[label] ')' ;
public final Sequence sequence_2d(Label label) throws RecognitionException {
Sequence result = null;
Sequence s = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:472:5: ( '(' nl s= sequence_list[label] ')' )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:472:7: '(' nl s= sequence_list[label] ')'
{
match(input,32,FOLLOW_32_in_sequence_2d1962); if (state.failed) return result;
pushFollow(FOLLOW_nl_in_sequence_2d1964);
nl();
state._fsp--;
if (state.failed) return result;
pushFollow(FOLLOW_sequence_list_in_sequence_2d1968);
s=sequence_list(label);
state._fsp--;
if (state.failed) return result;
match(input,33,FOLLOW_33_in_sequence_2d1971); if (state.failed) return result;
if ( state.backtracking==0 ) {
result = s;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "sequence_2d"
// $ANTLR start "sequence_list"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:476:1: sequence_list[Label label] returns [Sequence result = new Sequence()] : ( | s= sequence_1d[label] nl ( ( ',' nl )? s2= sequence_1d[label] nl )* );
public final Sequence sequence_list(Label label) throws RecognitionException {
Sequence result = new Sequence();
Sequence s = null;
Sequence s2 = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:477:5: ( | s= sequence_1d[label] nl ( ( ',' nl )? s2= sequence_1d[label] nl )* )
int alt45=2;
int LA45_0 = input.LA(1);
if ( (LA45_0==33) ) {
alt45=1;
}
else if ( (LA45_0==32) ) {
alt45=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 45, 0, input);
throw nvae;
}
switch (alt45) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:478:5:
{
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:478:7: s= sequence_1d[label] nl ( ( ',' nl )? s2= sequence_1d[label] nl )*
{
pushFollow(FOLLOW_sequence_1d_in_sequence_list2013);
s=sequence_1d(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result.add(s);
}
pushFollow(FOLLOW_nl_in_sequence_list2018);
nl();
state._fsp--;
if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:479:9: ( ( ',' nl )? s2= sequence_1d[label] nl )*
loop44:
do {
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==32||LA44_0==34) ) {
alt44=1;
}
switch (alt44) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:479:10: ( ',' nl )? s2= sequence_1d[label] nl
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:479:10: ( ',' nl )?
int alt43=2;
int LA43_0 = input.LA(1);
if ( (LA43_0==34) ) {
alt43=1;
}
switch (alt43) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:479:11: ',' nl
{
match(input,34,FOLLOW_34_in_sequence_list2030); if (state.failed) return result;
pushFollow(FOLLOW_nl_in_sequence_list2032);
nl();
state._fsp--;
if (state.failed) return result;
}
break;
}
pushFollow(FOLLOW_sequence_1d_in_sequence_list2038);
s2=sequence_1d(label);
state._fsp--;
if (state.failed) return result;
pushFollow(FOLLOW_nl_in_sequence_list2041);
nl();
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result.add(s2);
}
}
break;
default :
break loop44;
}
} while (true);
}
break;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "sequence_list"
// $ANTLR start "set_value"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:482:1: set_value[Label label] returns [Set result = null;] : '{' nl s= item_list[label] '}' ;
public final Set set_value(Label label) throws RecognitionException {
Set result = null;;
Set s = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:483:5: ( '{' nl s= item_list[label] '}' )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:483:7: '{' nl s= item_list[label] '}'
{
match(input,35,FOLLOW_35_in_set_value2067); if (state.failed) return result;
pushFollow(FOLLOW_nl_in_set_value2069);
nl();
state._fsp--;
if (state.failed) return result;
pushFollow(FOLLOW_item_list_in_set_value2073);
s=item_list(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result=s;
}
match(input,36,FOLLOW_36_in_set_value2078); if (state.failed) return result;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "set_value"
// $ANTLR start "item_list"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:486:1: item_list[Label label] returns [Set result = new Set()] : ( | s= scalar_value[label] nl ( ( ',' nl )? s2= scalar_value[label] nl )* );
public final Set item_list(Label label) throws RecognitionException {
Set result = new Set();
Scalar s = null;
Scalar s2 = null;
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:487:5: ( | s= scalar_value[label] nl ( ( ',' nl )? s2= scalar_value[label] nl )* )
int alt48=2;
int LA48_0 = input.LA(1);
if ( (LA48_0==36) ) {
alt48=1;
}
else if ( (LA48_0==IDENTIFIER||(LA48_0>=INTEGER && LA48_0<=QUOTED)||(LA48_0>=DATETIME && LA48_0<=SYMBOL)) ) {
alt48=2;
}
else {
if (state.backtracking>0) {state.failed=true; return result;}
NoViableAltException nvae =
new NoViableAltException("", 48, 0, input);
throw nvae;
}
switch (alt48) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:488:5:
{
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:488:7: s= scalar_value[label] nl ( ( ',' nl )? s2= scalar_value[label] nl )*
{
pushFollow(FOLLOW_scalar_value_in_item_list2110);
s=scalar_value(label);
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result.add(s);
}
pushFollow(FOLLOW_nl_in_item_list2115);
nl();
state._fsp--;
if (state.failed) return result;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:489:9: ( ( ',' nl )? s2= scalar_value[label] nl )*
loop47:
do {
int alt47=2;
int LA47_0 = input.LA(1);
if ( (LA47_0==IDENTIFIER||(LA47_0>=INTEGER && LA47_0<=QUOTED)||(LA47_0>=DATETIME && LA47_0<=SYMBOL)||LA47_0==34) ) {
alt47=1;
}
switch (alt47) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:489:10: ( ',' nl )? s2= scalar_value[label] nl
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:489:10: ( ',' nl )?
int alt46=2;
int LA46_0 = input.LA(1);
if ( (LA46_0==34) ) {
alt46=1;
}
switch (alt46) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:489:11: ',' nl
{
match(input,34,FOLLOW_34_in_item_list2127); if (state.failed) return result;
pushFollow(FOLLOW_nl_in_item_list2129);
nl();
state._fsp--;
if (state.failed) return result;
}
break;
}
pushFollow(FOLLOW_scalar_value_in_item_list2135);
s2=scalar_value(label);
state._fsp--;
if (state.failed) return result;
pushFollow(FOLLOW_nl_in_item_list2138);
nl();
state._fsp--;
if (state.failed) return result;
if ( state.backtracking==0 ) {
result.add(s2);
}
}
break;
default :
break loop47;
}
} while (true);
}
break;
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return result;
}
// $ANTLR end "item_list"
// $ANTLR start "nl"
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:495:1: nl : ( EOL )* ;
public final void nl() throws RecognitionException {
try {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:496:5: ( ( EOL )* )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:496:7: ( EOL )*
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:496:7: ( EOL )*
loop49:
do {
int alt49=2;
int LA49_0 = input.LA(1);
if ( (LA49_0==EOL) ) {
alt49=1;
}
switch (alt49) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:496:7: EOL
{
match(input,EOL,FOLLOW_EOL_in_nl2161); if (state.failed) return ;
}
break;
default :
break loop49;
}
} while (true);
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ;
}
// $ANTLR end "nl"
// $ANTLR start synpred1_ODL
public final void synpred1_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:245:9: (~ ( END_OBJECT ) )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:245:10: ~ ( END_OBJECT )
{
if ( (input.LA(1)>=END && input.LA(1)<=END_GROUP)||(input.LA(1)>=COMMENT && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
}
// $ANTLR end synpred1_ODL
// $ANTLR start synpred2_ODL
public final void synpred2_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:247:9: (~ ( END_OBJECT | END | EOF | 'OBJECT' ) (~ ( EOL | END | EOF ) )* EOL )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:247:10: ~ ( END_OBJECT | END | EOF | 'OBJECT' ) (~ ( EOL | END | EOF ) )* EOL
{
if ( input.LA(1)==END_GROUP||(input.LA(1)>=COMMENT && input.LA(1)<=INTEGER_OR_TIME)||(input.LA(1)>=29 && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:247:41: (~ ( EOL | END | EOF ) )*
loop50:
do {
int alt50=2;
int LA50_0 = input.LA(1);
if ( ((LA50_0>=END_GROUP && LA50_0<=COMMENT)||(LA50_0>=IDENTIFIER && LA50_0<=36)) ) {
alt50=1;
}
switch (alt50) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:247:42: ~ ( EOL | END | EOF )
{
if ( (input.LA(1)>=END_GROUP && input.LA(1)<=COMMENT)||(input.LA(1)>=IDENTIFIER && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
break;
default :
break loop50;
}
} while (true);
match(input,EOL,FOLLOW_EOL_in_synpred2_ODL535); if (state.failed) return ;
}
}
// $ANTLR end synpred2_ODL
// $ANTLR start synpred3_ODL
public final void synpred3_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:7: ( END_OBJECT | END | EOF )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:
{
if ( input.LA(1)==EOF||input.LA(1)==END||input.LA(1)==END_OBJECT ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
}
// $ANTLR end synpred3_ODL
// $ANTLR start synpred4_ODL
public final void synpred4_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:33: ( END_OBJECT )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:252:34: END_OBJECT
{
match(input,END_OBJECT,FOLLOW_END_OBJECT_in_synpred4_ODL608); if (state.failed) return ;
}
}
// $ANTLR end synpred4_ODL
// $ANTLR start synpred5_ODL
public final void synpred5_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:270:9: (~ ( END_GROUP ) )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:270:10: ~ ( END_GROUP )
{
if ( input.LA(1)==END||(input.LA(1)>=END_OBJECT && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
}
// $ANTLR end synpred5_ODL
// $ANTLR start synpred6_ODL
public final void synpred6_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:272:9: (~ ( END_GROUP | END | EOF ) )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:272:10: ~ ( END_GROUP | END | EOF )
{
if ( (input.LA(1)>=END_OBJECT && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
}
// $ANTLR end synpred6_ODL
// $ANTLR start synpred7_ODL
public final void synpred7_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:7: ( END_GROUP | END | EOF )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:
{
if ( input.LA(1)==EOF||(input.LA(1)>=END && input.LA(1)<=END_GROUP) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
}
// $ANTLR end synpred7_ODL
// $ANTLR start synpred8_ODL
public final void synpred8_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:32: ( END_GROUP )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:276:33: END_GROUP
{
match(input,END_GROUP,FOLLOW_END_GROUP_in_synpred8_ODL836); if (state.failed) return ;
}
}
// $ANTLR end synpred8_ODL
// $ANTLR start synpred9_ODL
public final void synpred9_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:9: ( ( IDENTIFIER )? '=' ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | UNITS ) )* ( COMMENT )? EOL )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:10: ( IDENTIFIER )? '=' ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | UNITS ) )* ( COMMENT )? EOL
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:10: ( IDENTIFIER )?
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==IDENTIFIER) ) {
alt51=1;
}
switch (alt51) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:10: IDENTIFIER
{
match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_synpred9_ODL944); if (state.failed) return ;
}
break;
}
match(input,29,FOLLOW_29_in_synpred9_ODL947); if (state.failed) return ;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:26: ( value[label] | bad_value[label] )
int alt52=2;
int LA52_0 = input.LA(1);
if ( (LA52_0==IDENTIFIER||(LA52_0>=INTEGER && LA52_0<=QUOTED)||(LA52_0>=DATETIME && LA52_0<=SYMBOL)||LA52_0==32||LA52_0==35) ) {
alt52=1;
}
else if ( (LA52_0==BAD_TOKEN) ) {
alt52=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 52, 0, input);
throw nvae;
}
switch (alt52) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:27: value[label]
{
pushFollow(FOLLOW_value_in_synpred9_ODL950);
value(label);
state._fsp--;
if (state.failed) return ;
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:40: bad_value[label]
{
pushFollow(FOLLOW_bad_value_in_synpred9_ODL953);
bad_value(label);
state._fsp--;
if (state.failed) return ;
}
break;
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:58: (~ ( COMMENT | EOL | UNITS ) )*
loop53:
do {
int alt53=2;
int LA53_0 = input.LA(1);
if ( ((LA53_0>=END && LA53_0<=END_OBJECT)||LA53_0==IDENTIFIER||(LA53_0>=INTEGER && LA53_0<=36)) ) {
alt53=1;
}
switch (alt53) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:58: ~ ( COMMENT | EOL | UNITS )
{
if ( (input.LA(1)>=END && input.LA(1)<=END_OBJECT)||input.LA(1)==IDENTIFIER||(input.LA(1)>=INTEGER && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
break;
default :
break loop53;
}
} while (true);
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:80: ( COMMENT )?
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==COMMENT) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:313:80: COMMENT
{
match(input,COMMENT,FOLLOW_COMMENT_in_synpred9_ODL967); if (state.failed) return ;
}
break;
}
match(input,EOL,FOLLOW_EOL_in_synpred9_ODL970); if (state.failed) return ;
}
}
// $ANTLR end synpred9_ODL
// $ANTLR start synpred10_ODL
public final void synpred10_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:11: ( ( IDENTIFIER )? '=' ( COMMENT )? ( EOL )+ ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | '=' | UNITS ) )* ( COMMENT )? EOL )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:12: ( IDENTIFIER )? '=' ( COMMENT )? ( EOL )+ ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | '=' | UNITS ) )* ( COMMENT )? EOL
{
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:12: ( IDENTIFIER )?
int alt55=2;
int LA55_0 = input.LA(1);
if ( (LA55_0==IDENTIFIER) ) {
alt55=1;
}
switch (alt55) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:12: IDENTIFIER
{
match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_synpred10_ODL1072); if (state.failed) return ;
}
break;
}
match(input,29,FOLLOW_29_in_synpred10_ODL1075); if (state.failed) return ;
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:28: ( COMMENT )?
int alt56=2;
int LA56_0 = input.LA(1);
if ( (LA56_0==COMMENT) ) {
alt56=1;
}
switch (alt56) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:28: COMMENT
{
match(input,COMMENT,FOLLOW_COMMENT_in_synpred10_ODL1077); if (state.failed) return ;
}
break;
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:37: ( EOL )+
int cnt57=0;
loop57:
do {
int alt57=2;
int LA57_0 = input.LA(1);
if ( (LA57_0==EOL) ) {
alt57=1;
}
switch (alt57) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:37: EOL
{
match(input,EOL,FOLLOW_EOL_in_synpred10_ODL1080); if (state.failed) return ;
}
break;
default :
if ( cnt57 >= 1 ) break loop57;
if (state.backtracking>0) {state.failed=true; return ;}
EarlyExitException eee =
new EarlyExitException(57, input);
throw eee;
}
cnt57++;
} while (true);
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:42: ( value[label] | bad_value[label] )
int alt58=2;
int LA58_0 = input.LA(1);
if ( (LA58_0==IDENTIFIER||(LA58_0>=INTEGER && LA58_0<=QUOTED)||(LA58_0>=DATETIME && LA58_0<=SYMBOL)||LA58_0==32||LA58_0==35) ) {
alt58=1;
}
else if ( (LA58_0==BAD_TOKEN) ) {
alt58=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 58, 0, input);
throw nvae;
}
switch (alt58) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:43: value[label]
{
pushFollow(FOLLOW_value_in_synpred10_ODL1084);
value(label);
state._fsp--;
if (state.failed) return ;
}
break;
case 2 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:56: bad_value[label]
{
pushFollow(FOLLOW_bad_value_in_synpred10_ODL1087);
bad_value(label);
state._fsp--;
if (state.failed) return ;
}
break;
}
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:74: (~ ( COMMENT | EOL | '=' | UNITS ) )*
loop59:
do {
int alt59=2;
int LA59_0 = input.LA(1);
if ( ((LA59_0>=END && LA59_0<=END_OBJECT)||LA59_0==IDENTIFIER||(LA59_0>=INTEGER && LA59_0<=28)||(LA59_0>=30 && LA59_0<=36)) ) {
alt59=1;
}
switch (alt59) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:74: ~ ( COMMENT | EOL | '=' | UNITS )
{
if ( (input.LA(1)>=END && input.LA(1)<=END_OBJECT)||input.LA(1)==IDENTIFIER||(input.LA(1)>=INTEGER && input.LA(1)<=28)||(input.LA(1)>=30 && input.LA(1)<=36) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
break;
default :
break loop59;
}
} while (true);
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:100: ( COMMENT )?
int alt60=2;
int LA60_0 = input.LA(1);
if ( (LA60_0==COMMENT) ) {
alt60=1;
}
switch (alt60) {
case 1 :
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:331:100: COMMENT
{
match(input,COMMENT,FOLLOW_COMMENT_in_synpred10_ODL1103); if (state.failed) return ;
}
break;
}
match(input,EOL,FOLLOW_EOL_in_synpred10_ODL1106); if (state.failed) return ;
}
}
// $ANTLR end synpred10_ODL
// $ANTLR start synpred11_ODL
public final void synpred11_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:353:11: ( IDENTIFIER '=' QUOTED_UNTERMINATED EOF )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:353:12: IDENTIFIER '=' QUOTED_UNTERMINATED EOF
{
match(input,IDENTIFIER,FOLLOW_IDENTIFIER_in_synpred11_ODL1271); if (state.failed) return ;
match(input,29,FOLLOW_29_in_synpred11_ODL1273); if (state.failed) return ;
match(input,QUOTED_UNTERMINATED,FOLLOW_QUOTED_UNTERMINATED_in_synpred11_ODL1275); if (state.failed) return ;
match(input,EOF,FOLLOW_EOF_in_synpred11_ODL1277); if (state.failed) return ;
}
}
// $ANTLR end synpred11_ODL
// $ANTLR start synpred12_ODL
public final void synpred12_ODL_fragment() throws RecognitionException {
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:454:7: ( '(' nl '(' )
// /Users/jpadams/Documents/proj/pds/pdsen/workspace/pds3-product-tools/src/main/antlr3/gov/nasa/pds/tools/label/antlr/ODL.g:454:8: '(' nl '('
{
match(input,32,FOLLOW_32_in_synpred12_ODL1792); if (state.failed) return ;
pushFollow(FOLLOW_nl_in_synpred12_ODL1794);
nl();
state._fsp--;
if (state.failed) return ;
match(input,32,FOLLOW_32_in_synpred12_ODL1796); if (state.failed) return ;
}
}
// $ANTLR end synpred12_ODL
// Delegated rules
public final boolean synpred2_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred2_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred8_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred8_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred12_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred12_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred1_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred1_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred11_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred11_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred10_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred10_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred5_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred5_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred9_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred9_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred3_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred3_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred4_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred4_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred7_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred7_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred6_ODL() {
state.backtracking++;
int start = input.mark();
try {
synpred6_ODL_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
protected DFA10 dfa10 = new DFA10(this);
protected DFA16 dfa16 = new DFA16(this);
protected DFA31 dfa31 = new DFA31(this);
protected DFA39 dfa39 = new DFA39(this);
static final String DFA10_eotS =
"\16\uffff";
static final String DFA10_eofS =
"\1\3\15\uffff";
static final String DFA10_minS =
"\1\4\2\0\1\uffff\10\0\2\uffff";
static final String DFA10_maxS =
"\1\44\2\0\1\uffff\10\0\2\uffff";
static final String DFA10_acceptS =
"\3\uffff\1\3\10\uffff\1\2\1\1";
static final String DFA10_specialS =
"\1\4\1\6\1\3\1\uffff\1\12\1\10\1\11\1\0\1\5\1\7\1\1\1\2\2\uffff}>";
static final String[] DFA10_transitionS = {
"\1\2\1\13\1\1\1\4\1\5\1\6\22\13\1\12\1\7\1\11\1\10\5\13",
"\1\uffff",
"\1\uffff",
"",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
""
};
static final short[] DFA10_eot = DFA.unpackEncodedString(DFA10_eotS);
static final short[] DFA10_eof = DFA.unpackEncodedString(DFA10_eofS);
static final char[] DFA10_min = DFA.unpackEncodedStringToUnsignedChars(DFA10_minS);
static final char[] DFA10_max = DFA.unpackEncodedStringToUnsignedChars(DFA10_maxS);
static final short[] DFA10_accept = DFA.unpackEncodedString(DFA10_acceptS);
static final short[] DFA10_special = DFA.unpackEncodedString(DFA10_specialS);
static final short[][] DFA10_transition;
static {
int numStates = DFA10_transitionS.length;
DFA10_transition = new short[numStates][];
for (int i=0; is= statement[label] | (~ ( END_OBJECT | END | EOF | 'OBJECT' ) (~ ( EOL | END | EOF ) )* EOL )=>t= . (~ ( EOL | END | EOF ) )* EOL )*";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA10_7 = input.LA(1);
int index10_7 = input.index();
input.rewind();
s = -1;
if ( (synpred1_ODL()) ) {s = 13;}
else if ( (synpred2_ODL()) ) {s = 12;}
else if ( (synpred3_ODL()) ) {s = 3;}
input.seek(index10_7);
if ( s>=0 ) return s;
break;
case 1 :
int LA10_10 = input.LA(1);
int index10_10 = input.index();
input.rewind();
s = -1;
if ( (synpred1_ODL()) ) {s = 13;}
else if ( (synpred2_ODL()) ) {s = 12;}
else if ( (synpred3_ODL()) ) {s = 3;}
input.seek(index10_10);
if ( s>=0 ) return s;
break;
case 2 :
int LA10_11 = input.LA(1);
int index10_11 = input.index();
input.rewind();
s = -1;
if ( (synpred2_ODL()) ) {s = 12;}
else if ( (synpred3_ODL()) ) {s = 3;}
input.seek(index10_11);
if ( s>=0 ) return s;
break;
case 3 :
int LA10_2 = input.LA(1);
int index10_2 = input.index();
input.rewind();
s = -1;
if ( (synpred2_ODL()) ) {s = 12;}
else if ( (synpred3_ODL()) ) {s = 3;}
input.seek(index10_2);
if ( s>=0 ) return s;
break;
case 4 :
int LA10_0 = input.LA(1);
int index10_0 = input.index();
input.rewind();
s = -1;
if ( (LA10_0==END_OBJECT) ) {s = 1;}
else if ( (LA10_0==END) ) {s = 2;}
else if ( (LA10_0==EOF) && (synpred3_ODL())) {s = 3;}
else if ( (LA10_0==COMMENT) ) {s = 4;}
else if ( (LA10_0==EOL) ) {s = 5;}
else if ( (LA10_0==IDENTIFIER) ) {s = 6;}
else if ( (LA10_0==29) ) {s = 7;}
else if ( (LA10_0==31) ) {s = 8;}
else if ( (LA10_0==30) ) {s = 9;}
else if ( (LA10_0==28) ) {s = 10;}
else if ( (LA10_0==END_GROUP||(LA10_0>=UNITS && LA10_0<=INTEGER_OR_TIME)||(LA10_0>=32 && LA10_0<=36)) ) {s = 11;}
input.seek(index10_0);
if ( s>=0 ) return s;
break;
case 5 :
int LA10_8 = input.LA(1);
int index10_8 = input.index();
input.rewind();
s = -1;
if ( (synpred1_ODL()) ) {s = 13;}
else if ( (synpred2_ODL()) ) {s = 12;}
else if ( (synpred3_ODL()) ) {s = 3;}
input.seek(index10_8);
if ( s>=0 ) return s;
break;
case 6 :
int LA10_1 = input.LA(1);
int index10_1 = input.index();
input.rewind();
s = -1;
if ( (synpred2_ODL()) ) {s = 12;}
else if ( (synpred3_ODL()) ) {s = 3;}
input.seek(index10_1);
if ( s>=0 ) return s;
break;
case 7 :
int LA10_9 = input.LA(1);
int index10_9 = input.index();
input.rewind();
s = -1;
if ( (synpred1_ODL()) ) {s = 13;}
else if ( (synpred2_ODL()) ) {s = 12;}
else if ( (synpred3_ODL()) ) {s = 3;}
input.seek(index10_9);
if ( s>=0 ) return s;
break;
case 8 :
int LA10_5 = input.LA(1);
int index10_5 = input.index();
input.rewind();
s = -1;
if ( (synpred1_ODL()) ) {s = 13;}
else if ( (synpred2_ODL()) ) {s = 12;}
else if ( (synpred3_ODL()) ) {s = 3;}
input.seek(index10_5);
if ( s>=0 ) return s;
break;
case 9 :
int LA10_6 = input.LA(1);
int index10_6 = input.index();
input.rewind();
s = -1;
if ( (synpred1_ODL()) ) {s = 13;}
else if ( (synpred2_ODL()) ) {s = 12;}
else if ( (synpred3_ODL()) ) {s = 3;}
input.seek(index10_6);
if ( s>=0 ) return s;
break;
case 10 :
int LA10_4 = input.LA(1);
int index10_4 = input.index();
input.rewind();
s = -1;
if ( (synpred1_ODL()) ) {s = 13;}
else if ( (synpred2_ODL()) ) {s = 12;}
else if ( (synpred3_ODL()) ) {s = 3;}
input.seek(index10_4);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 10, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA16_eotS =
"\17\uffff";
static final String DFA16_eofS =
"\1\3\16\uffff";
static final String DFA16_minS =
"\1\4\2\0\1\uffff\11\0\2\uffff";
static final String DFA16_maxS =
"\1\44\2\0\1\uffff\11\0\2\uffff";
static final String DFA16_acceptS =
"\3\uffff\1\3\11\uffff\1\2\1\1";
static final String DFA16_specialS =
"\1\0\1\1\1\2\1\uffff\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\2\uffff}>";
static final String[] DFA16_transitionS = {
"\1\2\1\1\1\13\1\4\1\5\1\6\22\14\1\12\1\7\1\11\1\10\5\14",
"\1\uffff",
"\1\uffff",
"",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
""
};
static final short[] DFA16_eot = DFA.unpackEncodedString(DFA16_eotS);
static final short[] DFA16_eof = DFA.unpackEncodedString(DFA16_eofS);
static final char[] DFA16_min = DFA.unpackEncodedStringToUnsignedChars(DFA16_minS);
static final char[] DFA16_max = DFA.unpackEncodedStringToUnsignedChars(DFA16_maxS);
static final short[] DFA16_accept = DFA.unpackEncodedString(DFA16_acceptS);
static final short[] DFA16_special = DFA.unpackEncodedString(DFA16_specialS);
static final short[][] DFA16_transition;
static {
int numStates = DFA16_transitionS.length;
DFA16_transition = new short[numStates][];
for (int i=0; is= simple_statement[label] | (~ ( END_GROUP | END | EOF ) )=>t= . (~ EOL )* EOL )*";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA16_0 = input.LA(1);
int index16_0 = input.index();
input.rewind();
s = -1;
if ( (LA16_0==END_GROUP) ) {s = 1;}
else if ( (LA16_0==END) ) {s = 2;}
else if ( (LA16_0==EOF) && (synpred7_ODL())) {s = 3;}
else if ( (LA16_0==COMMENT) ) {s = 4;}
else if ( (LA16_0==EOL) ) {s = 5;}
else if ( (LA16_0==IDENTIFIER) ) {s = 6;}
else if ( (LA16_0==29) ) {s = 7;}
else if ( (LA16_0==31) ) {s = 8;}
else if ( (LA16_0==30) ) {s = 9;}
else if ( (LA16_0==28) ) {s = 10;}
else if ( (LA16_0==END_OBJECT) ) {s = 11;}
else if ( ((LA16_0>=UNITS && LA16_0<=INTEGER_OR_TIME)||(LA16_0>=32 && LA16_0<=36)) ) {s = 12;}
input.seek(index16_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA16_1 = input.LA(1);
int index16_1 = input.index();
input.rewind();
s = -1;
if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA16_2 = input.LA(1);
int index16_2 = input.index();
input.rewind();
s = -1;
if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_2);
if ( s>=0 ) return s;
break;
case 3 :
int LA16_4 = input.LA(1);
int index16_4 = input.index();
input.rewind();
s = -1;
if ( (synpred5_ODL()) ) {s = 14;}
else if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_4);
if ( s>=0 ) return s;
break;
case 4 :
int LA16_5 = input.LA(1);
int index16_5 = input.index();
input.rewind();
s = -1;
if ( (synpred5_ODL()) ) {s = 14;}
else if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_5);
if ( s>=0 ) return s;
break;
case 5 :
int LA16_6 = input.LA(1);
int index16_6 = input.index();
input.rewind();
s = -1;
if ( (synpred5_ODL()) ) {s = 14;}
else if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_6);
if ( s>=0 ) return s;
break;
case 6 :
int LA16_7 = input.LA(1);
int index16_7 = input.index();
input.rewind();
s = -1;
if ( (synpred5_ODL()) ) {s = 14;}
else if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_7);
if ( s>=0 ) return s;
break;
case 7 :
int LA16_8 = input.LA(1);
int index16_8 = input.index();
input.rewind();
s = -1;
if ( (synpred5_ODL()) ) {s = 14;}
else if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_8);
if ( s>=0 ) return s;
break;
case 8 :
int LA16_9 = input.LA(1);
int index16_9 = input.index();
input.rewind();
s = -1;
if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_9);
if ( s>=0 ) return s;
break;
case 9 :
int LA16_10 = input.LA(1);
int index16_10 = input.index();
input.rewind();
s = -1;
if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_10);
if ( s>=0 ) return s;
break;
case 10 :
int LA16_11 = input.LA(1);
int index16_11 = input.index();
input.rewind();
s = -1;
if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_11);
if ( s>=0 ) return s;
break;
case 11 :
int LA16_12 = input.LA(1);
int index16_12 = input.index();
input.rewind();
s = -1;
if ( (synpred6_ODL()) ) {s = 13;}
else if ( (synpred7_ODL()) ) {s = 3;}
input.seek(index16_12);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 16, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA31_eotS =
"\u0151\uffff";
static final String DFA31_eofS =
"\5\uffff\1\4\13\uffff\1\4\12\uffff\1\4\21\uffff\1\4\12\uffff\1\4"+
"\14\uffff\1\4\7\uffff\1\4\14\uffff\1\4\20\uffff\2\4\15\uffff\1\4"+
"\7\uffff\1\4\11\uffff\2\4\3\uffff\1\4\10\uffff\1\4\3\uffff\1\4\23"+
"\uffff\2\4\10\uffff\2\4\3\uffff\1\4\11\uffff\3\4\13\uffff\3\4\10"+
"\uffff\1\4\10\uffff\2\4\3\uffff\1\4\10\uffff\4\4\3\uffff\3\4\10"+
"\uffff\2\4\13\uffff\1\4\10\uffff\6\4\10\uffff\2\4\10\uffff\2\4\3"+
"\uffff\4\4\10\uffff\4\4";
static final String DFA31_minS =
"\1\11\1\35\2\7\1\uffff\1\4\13\uffff\27\4\1\0\30\4\1\uffff\1\4\1"+
"\0\u010d\4";
static final String DFA31_maxS =
"\2\35\2\43\1\uffff\1\44\13\uffff\27\44\1\0\30\44\1\uffff\1\44\1"+
"\0\u010d\44";
static final String DFA31_acceptS =
"\4\uffff\1\3\1\uffff\12\1\1\4\60\uffff\1\2\u010f\uffff";
static final String DFA31_specialS =
"\2\uffff\1\1\1\0\44\uffff\1\2\32\uffff\1\3\u010d\uffff}>";
static final String[] DFA31_transitionS = {
"\1\1\23\uffff\1\2",
"\1\3",
"\1\4\1\5\1\13\1\uffff\1\6\1\7\1\10\1\12\1\17\1\uffff\1\11\1"+
"\14\15\uffff\1\15\2\uffff\1\16",
"\1\4\1\5\1\13\1\uffff\1\6\1\7\1\10\1\12\1\17\1\20\1\11\1\14"+
"\15\uffff\1\15\2\uffff\1\16",
"",
"\4\4\1\21\1\22\1\4\1\23\1\24\1\25\1\27\1\33\1\4\1\26\1\30\15"+
"\4\1\31\2\4\1\32\1\4",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\4\4\1\34\1\35\1\4\1\36\1\37\1\40\1\42\1\46\1\4\1\41\1\43\15"+
"\4\1\44\2\4\1\45\1\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\53\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\54\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\55\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\56\1\65\1\4\1\60\1\61\1\62\1\64\2\4\1\63\1\66\15\4\1"+
"\67\1\57\3\4",
"\4\4\1\71\1\77\1\4\1\72\1\73\1\74\1\76\2\4\1\75\1\100\21\4"+
"\1\70",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\34\1\35\1\4\1\36\1\37\1\40\1\42\1\46\1\4\1\41\1\43\15"+
"\4\1\44\2\4\1\45\1\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\53\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\54\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\55\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\56\1\65\1\4\1\60\1\61\1\62\1\64\2\4\1\63\1\66\15\4\1"+
"\67\1\57\3\4",
"\4\4\1\71\1\77\1\4\1\72\1\73\1\74\1\76\2\4\1\75\1\100\21\4"+
"\1\70",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\1\uffff",
"\4\4\1\50\34\4",
"\3\52\1\102\1\103\1\52\1\4\22\52\1\4\7\52",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\106\1\107\1\4\1\110\1\111\1\112\1\114\2\4\1\113\1\115"+
"\15\4\1\105\1\104\3\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\116\1\126\1\117\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\131\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\132\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\133\1\142\1\4\1\135\1\136\1\137\1\141\2\4\1\140\1\143"+
"\16\4\1\134\3\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\154\1\152\1\4\1\145\1\146\1\147\1\151\2\4\1\150\1\153"+
"\21\4\1\144",
"\4\4\1\155\1\165\1\156\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\167\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\170\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"",
"\4\4\1\103\34\4",
"\1\uffff",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\133\1\142\1\4\1\135\1\136\1\137\1\141\2\4\1\140\1\143"+
"\16\4\1\134\3\4",
"\4\4\1\173\1\174\1\4\1\175\1\176\1\177\1\u0081\2\4\1\u0080"+
"\1\u0082\15\4\1\172\1\171\3\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\117\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\131\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\132\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\u0083\1\u0084\1\4\1\u0086\1\u0087\1\u0088\1\u008a\2"+
"\4\1\u0089\1\u008b\16\4\1\u008c\1\u0085\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\u008d\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\22\4",
"\4\4\1\u008e\1\126\1\u008f\1\121\1\122\1\123\1\125\2\4\1\124"+
"\1\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\u0090\1\121\1\122\1\123\1\125\2\4\1\124"+
"\1\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\u0091\1\121\1\122\1\123\1\125\2\4\1\124"+
"\1\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\u0092\1\u0093\1\4\1\u0095\1\u0096\1\u0097\1\u0099\2"+
"\4\1\u0098\1\u009a\16\4\1\u0094\3\4",
"\4\4\1\u009b\27\4\1\u009d\1\u009e\1\u009c\2\4",
"\4\4\1\u009f\1\u00a7\1\u00a0\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\u00a9\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\u00aa\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\155\1\165\1\156\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\167\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\170\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\u00b3\1\u00b1\1\4\1\u00ac\1\u00ad\1\u00ae\1\u00b0\2"+
"\4\1\u00af\1\u00b2\21\4\1\u00ab",
"\4\4\1\u00b4\1\u00b5\1\4\1\u00b7\1\u00b8\1\u00b9\1\u00bb\2"+
"\4\1\u00ba\1\u00bc\17\4\1\u00b6\1\4\1\144",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\u00bd\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\22\4",
"\4\4\1\u00be\1\165\1\u00bf\1\160\1\161\1\162\1\164\2\4\1\163"+
"\1\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\u00c0\1\160\1\161\1\162\1\164\2\4\1\163"+
"\1\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\u00c1\1\160\1\161\1\162\1\164\2\4\1\163"+
"\1\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\133\1\142\1\4\1\135\1\136\1\137\1\141\2\4\1\140\1\143"+
"\16\4\1\134\3\4",
"\4\4\1\173\1\174\1\4\1\175\1\176\1\177\1\u0081\2\4\1\u0080"+
"\1\u0082\15\4\1\172\1\171\3\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\117\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\131\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\132\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\116\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1\127"+
"\16\4\1\130\1\120\2\4",
"\4\4\1\u00c2\1\u00c3\1\4\1\u00c5\1\u00c6\1\u00c7\1\u00c9\2"+
"\4\1\u00c8\1\u00ca\16\4\1\u00cb\1\u00c4\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008d\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\22\4",
"\4\4\1\u008e\1\126\1\u008f\1\121\1\122\1\123\1\125\2\4\1\124"+
"\1\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\u0090\1\121\1\122\1\123\1\125\2\4\1\124"+
"\1\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\u0091\1\121\1\122\1\123\1\125\2\4\1\124"+
"\1\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\u00cc\1\u0084\1\4\1\u0086\1\u0087\1\u0088\1\u008a\2"+
"\4\1\u0089\1\u008b\22\4",
"\4\4\1\u00cd\1\u0084\1\4\1\u0086\1\u0087\1\u0088\1\u008a\2"+
"\4\1\u0089\1\u008b\16\4\1\u008c\1\u0085\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u00ce\1\u00cf\1\4\1\u00d1\1\u00d2\1\u00d3\1\u00d5\2"+
"\4\1\u00d4\1\u00d6\16\4\1\u00d0\3\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009b\27\4\1\u009d\1\u009e\1\u009c\2\4",
"\4\4\1\u009f\1\u00a7\1\u00a0\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\u00a9\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\u00aa\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00da\27\4\1\u00d8\1\u00d9\1\u00d7\2\4",
"\4\4\1\u00db\27\4\1\u009d\4\4",
"\4\4\1\u00dc\1\u00e3\1\4\1\u00de\1\u00df\1\u00e0\1\u00e2\2"+
"\4\1\u00e1\1\u00e4\16\4\1\u00dd\3\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\u00e5\1\u00e6\1\4\1\u00e8\1\u00e9\1\u00ea\1\u00ec\2"+
"\4\1\u00eb\1\u00ed\16\4\1\u0094\1\u00e7\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ee\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\22\4",
"\4\4\1\u00ef\1\u00a7\1\u00f0\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\u00f1\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\u00f2\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\155\1\165\1\156\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\167\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\170\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\155\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1\166"+
"\17\4\1\157\1\4\1\70",
"\4\4\1\u00b3\1\u00b1\1\4\1\u00ac\1\u00ad\1\u00ae\1\u00b0\2"+
"\4\1\u00af\1\u00b2\21\4\1\u00ab",
"\4\4\1\u00f3\1\u00f4\1\4\1\u00f6\1\u00f7\1\u00f8\1\u00fa\2"+
"\4\1\u00f9\1\u00fb\17\4\1\u00f5\1\4\1\u00ab",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00bd\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\22\4",
"\4\4\1\u00be\1\165\1\u00bf\1\160\1\161\1\162\1\164\2\4\1\163"+
"\1\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\u00c0\1\160\1\161\1\162\1\164\2\4\1\163"+
"\1\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\u00c1\1\160\1\161\1\162\1\164\2\4\1\163"+
"\1\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00fc\1\u00b5\1\4\1\u00b7\1\u00b8\1\u00b9\1\u00bb\2"+
"\4\1\u00ba\1\u00bc\22\4",
"\4\4\1\u00fd\1\u00b5\1\4\1\u00b7\1\u00b8\1\u00b9\1\u00bb\2"+
"\4\1\u00ba\1\u00bc\17\4\1\u00b6\1\4\1\144",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00c2\1\u00c3\1\4\1\u00c5\1\u00c6\1\u00c7\1\u00c9\2"+
"\4\1\u00c8\1\u00ca\16\4\1\u00cb\1\u00c4\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008d\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\22\4",
"\4\4\1\u008e\1\126\1\u008f\1\121\1\122\1\123\1\125\2\4\1\124"+
"\1\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\u0090\1\121\1\122\1\123\1\125\2\4\1\124"+
"\1\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\u0091\1\121\1\122\1\123\1\125\2\4\1\124"+
"\1\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\4\4\1\u008e\1\126\1\4\1\121\1\122\1\123\1\125\2\4\1\124\1"+
"\127\16\4\1\130\1\120\2\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\u00fe\1\u00c3\1\4\1\u00c5\1\u00c6\1\u00c7\1\u00c9\2"+
"\4\1\u00c8\1\u00ca\22\4",
"\4\4\1\u00ff\1\u00c3\1\4\1\u00c5\1\u00c6\1\u00c7\1\u00c9\2"+
"\4\1\u00c8\1\u00ca\16\4\1\u00cb\1\u00c4\2\4",
"\4\4\1\u00ce\1\u00cf\1\4\1\u00d1\1\u00d2\1\u00d3\1\u00d5\2"+
"\4\1\u00d4\1\u00d6\16\4\1\u00d0\3\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009b\27\4\1\u009d\1\u009e\1\u009c\2\4",
"\4\4\1\u009f\1\u00a7\1\u00a0\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\u00a9\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\u00aa\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u009f\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00db\27\4\1\u009d\4\4",
"\4\4\1\u00dc\1\u00e3\1\4\1\u00de\1\u00df\1\u00e0\1\u00e2\2"+
"\4\1\u00e1\1\u00e4\16\4\1\u00dd\3\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\u0103\27\4\1\u0101\1\u0102\1\u0100\2\4",
"\4\4\1\u0104\27\4\1\u00d8\4\4",
"\4\4\1\u0105\1\u0106\1\4\1\u0108\1\u0109\1\u010a\1\u010c\2"+
"\4\1\u010b\1\u010d\16\4\1\u0107\3\4",
"\4\4\1\u010e\27\4\1\u009d\1\u009e\1\u009c\2\4",
"\4\4\1\u010f\1\u0117\1\u0110\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\u0119\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\u011a\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u011b\1\u011c\1\4\1\u011e\1\u011f\1\u0120\1\u0122\2"+
"\4\1\u0121\1\u0123\16\4\1\u00d0\1\u011d\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ee\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\22\4",
"\4\4\1\u00ef\1\u00a7\1\u00f0\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\u00f1\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\u00f2\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u0124\1\u00e6\1\4\1\u00e8\1\u00e9\1\u00ea\1\u00ec\2"+
"\4\1\u00eb\1\u00ed\22\4",
"\4\4\1\u0125\1\u00e6\1\4\1\u00e8\1\u00e9\1\u00ea\1\u00ec\2"+
"\4\1\u00eb\1\u00ed\16\4\1\u0094\1\u00e7\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00f3\1\u00f4\1\4\1\u00f6\1\u00f7\1\u00f8\1\u00fa\2"+
"\4\1\u00f9\1\u00fb\17\4\1\u00f5\1\4\1\u00ab",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00bd\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\22\4",
"\4\4\1\u00be\1\165\1\u00bf\1\160\1\161\1\162\1\164\2\4\1\163"+
"\1\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\u00c0\1\160\1\161\1\162\1\164\2\4\1\163"+
"\1\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\u00c1\1\160\1\161\1\162\1\164\2\4\1\163"+
"\1\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u00be\1\165\1\4\1\160\1\161\1\162\1\164\2\4\1\163\1"+
"\166\17\4\1\157\1\4\1\70",
"\4\4\1\u0126\1\u00f4\1\4\1\u00f6\1\u00f7\1\u00f8\1\u00fa\2"+
"\4\1\u00f9\1\u00fb\22\4",
"\4\4\1\u0127\1\u00f4\1\4\1\u00f6\1\u00f7\1\u00f8\1\u00fa\2"+
"\4\1\u00f9\1\u00fb\17\4\1\u00f5\1\4\1\u00ab",
"\4\4\1\u00fe\1\u00c3\1\4\1\u00c5\1\u00c6\1\u00c7\1\u00c9\2"+
"\4\1\u00c8\1\u00ca\22\4",
"\4\4\1\u00ff\1\u00c3\1\4\1\u00c5\1\u00c6\1\u00c7\1\u00c9\2"+
"\4\1\u00c8\1\u00ca\16\4\1\u00cb\1\u00c4\2\4",
"\4\4\1\u00db\27\4\1\u009d\4\4",
"\4\4\1\u00dc\1\u00e3\1\4\1\u00de\1\u00df\1\u00e0\1\u00e2\2"+
"\4\1\u00e1\1\u00e4\16\4\1\u00dd\3\4",
"\1\52\2\47\1\51\1\50\1\47\1\4\22\47\1\4\7\47",
"\4\4\1\u0103\27\4\1\u0101\1\u0102\1\u0100\2\4",
"\4\4\1\u0128\27\4\1\u0101\4\4",
"\4\4\1\u0129\1\u012a\1\4\1\u012c\1\u012d\1\u012e\1\u0130\2"+
"\4\1\u012f\1\u0131\16\4\1\u012b\3\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010e\27\4\1\u009d\1\u009e\1\u009c\2\4",
"\4\4\1\u010f\1\u0117\1\u0110\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\u0119\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\u011a\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u0132\27\4\1\u00d8\1\u00d9\1\u00d7\2\4",
"\4\4\1\u0133\1\u0134\1\4\1\u0136\1\u0137\1\u0138\1\u013a\2"+
"\4\1\u0139\1\u013b\16\4\1\u0107\1\u0135\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013c\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\22\4",
"\4\4\1\u013d\1\u0117\1\u013e\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\u013f\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\u0140\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u011b\1\u011c\1\4\1\u011e\1\u011f\1\u0120\1\u0122\2"+
"\4\1\u0121\1\u0123\16\4\1\u00d0\1\u011d\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ee\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\22\4",
"\4\4\1\u00ef\1\u00a7\1\u00f0\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\u00f1\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\u00f2\1\u00a2\1\u00a3\1\u00a4\1\u00a6"+
"\2\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u00ef\1\u00a7\1\4\1\u00a2\1\u00a3\1\u00a4\1\u00a6\2"+
"\4\1\u00a5\1\u00a8\16\4\1\134\1\u00a1\2\4",
"\4\4\1\u0141\1\u011c\1\4\1\u011e\1\u011f\1\u0120\1\u0122\2"+
"\4\1\u0121\1\u0123\22\4",
"\4\4\1\u0142\1\u011c\1\4\1\u011e\1\u011f\1\u0120\1\u0122\2"+
"\4\1\u0121\1\u0123\16\4\1\u00d0\1\u011d\2\4",
"\4\4\1\u0126\1\u00f4\1\4\1\u00f6\1\u00f7\1\u00f8\1\u00fa\2"+
"\4\1\u00f9\1\u00fb\22\4",
"\4\4\1\u0127\1\u00f4\1\4\1\u00f6\1\u00f7\1\u00f8\1\u00fa\2"+
"\4\1\u00f9\1\u00fb\17\4\1\u00f5\1\4\1\u00ab",
"\4\4\1\u0128\27\4\1\u0101\4\4",
"\4\4\1\u0129\1\u012a\1\4\1\u012c\1\u012d\1\u012e\1\u0130\2"+
"\4\1\u012f\1\u0131\16\4\1\u012b\3\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010e\27\4\1\u009d\1\u009e\1\u009c\2\4",
"\4\4\1\u010f\1\u0117\1\u0110\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\u0119\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\u011a\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u010f\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u0143\27\4\1\u0101\1\u0102\1\u0100\2\4",
"\4\4\1\u0144\1\u0145\1\4\1\u0147\1\u0148\1\u0149\1\u014b\2"+
"\4\1\u014a\1\u014c\16\4\1\u012b\1\u0146\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013c\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\22\4",
"\4\4\1\u013d\1\u0117\1\u013e\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\u013f\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\u0140\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u014d\1\u0134\1\4\1\u0136\1\u0137\1\u0138\1\u013a\2"+
"\4\1\u0139\1\u013b\22\4",
"\4\4\1\u014e\1\u0134\1\4\1\u0136\1\u0137\1\u0138\1\u013a\2"+
"\4\1\u0139\1\u013b\16\4\1\u0107\1\u0135\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u0141\1\u011c\1\4\1\u011e\1\u011f\1\u0120\1\u0122\2"+
"\4\1\u0121\1\u0123\22\4",
"\4\4\1\u0142\1\u011c\1\4\1\u011e\1\u011f\1\u0120\1\u0122\2"+
"\4\1\u0121\1\u0123\16\4\1\u00d0\1\u011d\2\4",
"\4\4\1\u0143\27\4\1\u0101\1\u0102\1\u0100\2\4",
"\4\4\1\u0144\1\u0145\1\4\1\u0147\1\u0148\1\u0149\1\u014b\2"+
"\4\1\u014a\1\u014c\16\4\1\u012b\1\u0146\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013c\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\22\4",
"\4\4\1\u013d\1\u0117\1\u013e\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\u013f\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\u0140\1\u0112\1\u0113\1\u0114\1\u0116"+
"\2\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u013d\1\u0117\1\4\1\u0112\1\u0113\1\u0114\1\u0116\2"+
"\4\1\u0115\1\u0118\16\4\1\u00dd\1\u0111\2\4",
"\4\4\1\u014f\1\u0145\1\4\1\u0147\1\u0148\1\u0149\1\u014b\2"+
"\4\1\u014a\1\u014c\22\4",
"\4\4\1\u0150\1\u0145\1\4\1\u0147\1\u0148\1\u0149\1\u014b\2"+
"\4\1\u014a\1\u014c\16\4\1\u012b\1\u0146\2\4",
"\4\4\1\u014f\1\u0145\1\4\1\u0147\1\u0148\1\u0149\1\u014b\2"+
"\4\1\u014a\1\u014c\22\4",
"\4\4\1\u0150\1\u0145\1\4\1\u0147\1\u0148\1\u0149\1\u014b\2"+
"\4\1\u014a\1\u014c\16\4\1\u012b\1\u0146\2\4"
};
static final short[] DFA31_eot = DFA.unpackEncodedString(DFA31_eotS);
static final short[] DFA31_eof = DFA.unpackEncodedString(DFA31_eofS);
static final char[] DFA31_min = DFA.unpackEncodedStringToUnsignedChars(DFA31_minS);
static final char[] DFA31_max = DFA.unpackEncodedStringToUnsignedChars(DFA31_maxS);
static final short[] DFA31_accept = DFA.unpackEncodedString(DFA31_acceptS);
static final short[] DFA31_special = DFA.unpackEncodedString(DFA31_specialS);
static final short[][] DFA31_transition;
static {
int numStates = DFA31_transitionS.length;
DFA31_transition = new short[numStates][];
for (int i=0; i ( (id= IDENTIFIER )? eq= '=' (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | UNITS ) )* (c= COMMENT )? EOL ) | ( ( IDENTIFIER )? '=' ( COMMENT )? ( EOL )+ ( value[label] | bad_value[label] ) (~ ( COMMENT | EOL | '=' | UNITS ) )* ( COMMENT )? EOL )=> ( (id= IDENTIFIER )? eq= '=' ( EOL )+ (v= value[label] | b= bad_value[label] ) (extra=~ ( COMMENT | EOL | '=' | UNITS ) )* (c= COMMENT )? EOL ) | ( (id= IDENTIFIER )? eq= '=' (c= COMMENT )? EOL ) | ( IDENTIFIER '=' QUOTED_UNTERMINATED EOF )=> ( (id= IDENTIFIER ) eq= '=' txt= text_string_value_unterminated[label] ) );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA31_3 = input.LA(1);
int index31_3 = input.index();
input.rewind();
s = -1;
if ( (LA31_3==COMMENT) ) {s = 4;}
else if ( (LA31_3==EOL) ) {s = 5;}
else if ( (LA31_3==INTEGER) && (synpred9_ODL())) {s = 6;}
else if ( (LA31_3==BASED_INTEGER) && (synpred9_ODL())) {s = 7;}
else if ( (LA31_3==REAL) && (synpred9_ODL())) {s = 8;}
else if ( (LA31_3==DATETIME) && (synpred9_ODL())) {s = 9;}
else if ( (LA31_3==QUOTED) && (synpred9_ODL())) {s = 10;}
else if ( (LA31_3==IDENTIFIER) && (synpred9_ODL())) {s = 11;}
else if ( (LA31_3==SYMBOL) && (synpred9_ODL())) {s = 12;}
else if ( (LA31_3==32) && (synpred9_ODL())) {s = 13;}
else if ( (LA31_3==35) && (synpred9_ODL())) {s = 14;}
else if ( (LA31_3==BAD_TOKEN) && (synpred9_ODL())) {s = 15;}
else if ( (LA31_3==QUOTED_UNTERMINATED) && (synpred11_ODL())) {s = 16;}
input.seek(index31_3);
if ( s>=0 ) return s;
break;
case 1 :
int LA31_2 = input.LA(1);
int index31_2 = input.index();
input.rewind();
s = -1;
if ( (LA31_2==COMMENT) ) {s = 4;}
else if ( (LA31_2==EOL) ) {s = 5;}
else if ( (LA31_2==INTEGER) && (synpred9_ODL())) {s = 6;}
else if ( (LA31_2==BASED_INTEGER) && (synpred9_ODL())) {s = 7;}
else if ( (LA31_2==REAL) && (synpred9_ODL())) {s = 8;}
else if ( (LA31_2==DATETIME) && (synpred9_ODL())) {s = 9;}
else if ( (LA31_2==QUOTED) && (synpred9_ODL())) {s = 10;}
else if ( (LA31_2==IDENTIFIER) && (synpred9_ODL())) {s = 11;}
else if ( (LA31_2==SYMBOL) && (synpred9_ODL())) {s = 12;}
else if ( (LA31_2==32) && (synpred9_ODL())) {s = 13;}
else if ( (LA31_2==35) && (synpred9_ODL())) {s = 14;}
else if ( (LA31_2==BAD_TOKEN) && (synpred9_ODL())) {s = 15;}
input.seek(index31_2);
if ( s>=0 ) return s;
break;
case 2 :
int LA31_40 = input.LA(1);
int index31_40 = input.index();
input.rewind();
s = -1;
if ( (synpred10_ODL()) ) {s = 65;}
else if ( (true) ) {s = 4;}
input.seek(index31_40);
if ( s>=0 ) return s;
break;
case 3 :
int LA31_67 = input.LA(1);
int index31_67 = input.index();
input.rewind();
s = -1;
if ( (synpred10_ODL()) ) {s = 65;}
else if ( (true) ) {s = 4;}
input.seek(index31_67);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 31, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA39_eotS =
"\6\uffff";
static final String DFA39_eofS =
"\6\uffff";
static final String DFA39_minS =
"\1\40\2\10\1\0\2\uffff";
static final String DFA39_maxS =
"\1\40\2\41\1\0\2\uffff";
static final String DFA39_acceptS =
"\4\uffff\1\2\1\1";
static final String DFA39_specialS =
"\1\uffff\1\0\1\1\1\2\2\uffff}>";
static final String[] DFA39_transitionS = {
"\1\1",
"\1\2\1\4\1\uffff\4\4\2\uffff\2\4\15\uffff\1\5\1\3",
"\1\2\1\4\1\uffff\4\4\2\uffff\2\4\15\uffff\1\5\1\3",
"\1\uffff",
"",
""
};
static final short[] DFA39_eot = DFA.unpackEncodedString(DFA39_eotS);
static final short[] DFA39_eof = DFA.unpackEncodedString(DFA39_eofS);
static final char[] DFA39_min = DFA.unpackEncodedStringToUnsignedChars(DFA39_minS);
static final char[] DFA39_max = DFA.unpackEncodedStringToUnsignedChars(DFA39_maxS);
static final short[] DFA39_accept = DFA.unpackEncodedString(DFA39_acceptS);
static final short[] DFA39_special = DFA.unpackEncodedString(DFA39_specialS);
static final short[][] DFA39_transition;
static {
int numStates = DFA39_transitionS.length;
DFA39_transition = new short[numStates][];
for (int i=0; is1= sequence_2d[label] | s2= sequence_1d[label] );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA39_1 = input.LA(1);
int index39_1 = input.index();
input.rewind();
s = -1;
if ( (LA39_1==EOL) ) {s = 2;}
else if ( (LA39_1==33) ) {s = 3;}
else if ( (LA39_1==IDENTIFIER||(LA39_1>=INTEGER && LA39_1<=QUOTED)||(LA39_1>=DATETIME && LA39_1<=SYMBOL)) ) {s = 4;}
else if ( (LA39_1==32) && (synpred12_ODL())) {s = 5;}
input.seek(index39_1);
if ( s>=0 ) return s;
break;
case 1 :
int LA39_2 = input.LA(1);
int index39_2 = input.index();
input.rewind();
s = -1;
if ( (LA39_2==33) ) {s = 3;}
else if ( (LA39_2==32) && (synpred12_ODL())) {s = 5;}
else if ( (LA39_2==EOL) ) {s = 2;}
else if ( (LA39_2==IDENTIFIER||(LA39_2>=INTEGER && LA39_2<=QUOTED)||(LA39_2>=DATETIME && LA39_2<=SYMBOL)) ) {s = 4;}
input.seek(index39_2);
if ( s>=0 ) return s;
break;
case 2 :
int LA39_3 = input.LA(1);
int index39_3 = input.index();
input.rewind();
s = -1;
if ( (synpred12_ODL()) ) {s = 5;}
else if ( (true) ) {s = 4;}
input.seek(index39_3);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 39, _s, input);
error(nvae);
throw nvae;
}
}
public static final BitSet FOLLOW_dictionary_section_in_dictionary141 = new BitSet(new long[]{0x0000000000000012L});
public static final BitSet FOLLOW_END_in_dictionary149 = new BitSet(new long[]{0x00000000F0000390L});
public static final BitSet FOLLOW_dictionary_section_in_dictionary153 = new BitSet(new long[]{0x0000000000000012L});
public static final BitSet FOLLOW_statement_in_dictionary_section184 = new BitSet(new long[]{0x00000000F0000382L});
public static final BitSet FOLLOW_statement_in_label215 = new BitSet(new long[]{0x00000000F0000390L});
public static final BitSet FOLLOW_END_in_label230 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_EOF_in_label236 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_simple_statement_in_statement264 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_group_statement_in_statement285 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_object_statement_in_statement306 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_COMMENT_in_simple_statement354 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_simple_statement358 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_assignment_statement_in_simple_statement378 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_pointer_statement_in_simple_statement399 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_28_in_object_statement433 = new BitSet(new long[]{0x0000000020000100L});
public static final BitSet FOLLOW_nl_in_object_statement435 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_object_statement437 = new BitSet(new long[]{0x0000000000000300L});
public static final BitSet FOLLOW_nl_in_object_statement439 = new BitSet(new long[]{0x0000000000000200L});
public static final BitSet FOLLOW_IDENTIFIER_in_object_statement443 = new BitSet(new long[]{0x0000000000000180L});
public static final BitSet FOLLOW_COMMENT_in_object_statement448 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_object_statement452 = new BitSet(new long[]{0x0000001FFFFFFFF2L});
public static final BitSet FOLLOW_statement_in_object_statement489 = new BitSet(new long[]{0x0000001FFFFFFFF2L});
public static final BitSet FOLLOW_set_in_object_statement547 = new BitSet(new long[]{0x0000001FFFFFFFE0L});
public static final BitSet FOLLOW_EOL_in_object_statement558 = new BitSet(new long[]{0x0000001FFFFFFFF2L});
public static final BitSet FOLLOW_END_OBJECT_in_object_statement618 = new BitSet(new long[]{0x0000000020000180L});
public static final BitSet FOLLOW_29_in_object_statement621 = new BitSet(new long[]{0x0000000000000200L});
public static final BitSet FOLLOW_IDENTIFIER_in_object_statement627 = new BitSet(new long[]{0x0000000000000180L});
public static final BitSet FOLLOW_COMMENT_in_object_statement636 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_object_statement640 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_30_in_group_statement690 = new BitSet(new long[]{0x0000000020000100L});
public static final BitSet FOLLOW_nl_in_group_statement692 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_group_statement694 = new BitSet(new long[]{0x0000000000000300L});
public static final BitSet FOLLOW_nl_in_group_statement696 = new BitSet(new long[]{0x0000000000000200L});
public static final BitSet FOLLOW_IDENTIFIER_in_group_statement700 = new BitSet(new long[]{0x0000000000000180L});
public static final BitSet FOLLOW_COMMENT_in_group_statement705 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_group_statement709 = new BitSet(new long[]{0x0000001FFFFFFFF2L});
public static final BitSet FOLLOW_simple_statement_in_group_statement746 = new BitSet(new long[]{0x0000001FFFFFFFF2L});
public static final BitSet FOLLOW_set_in_group_statement788 = new BitSet(new long[]{0x0000001FFFFFFFF0L});
public static final BitSet FOLLOW_EOL_in_group_statement793 = new BitSet(new long[]{0x0000001FFFFFFFF2L});
public static final BitSet FOLLOW_END_GROUP_in_group_statement842 = new BitSet(new long[]{0x0000000020000180L});
public static final BitSet FOLLOW_29_in_group_statement845 = new BitSet(new long[]{0x0000000000000200L});
public static final BitSet FOLLOW_IDENTIFIER_in_group_statement849 = new BitSet(new long[]{0x0000000000000180L});
public static final BitSet FOLLOW_COMMENT_in_group_statement856 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_group_statement860 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_31_in_pointer_statement898 = new BitSet(new long[]{0x0000000020000200L});
public static final BitSet FOLLOW_assignment_statement_in_pointer_statement902 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_IDENTIFIER_in_assignment_statement993 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_assignment_statement1001 = new BitSet(new long[]{0x000000090006FA00L});
public static final BitSet FOLLOW_value_in_assignment_statement1008 = new BitSet(new long[]{0x0000001FFFFFFBF0L});
public static final BitSet FOLLOW_bad_value_in_assignment_statement1015 = new BitSet(new long[]{0x0000001FFFFFFBF0L});
public static final BitSet FOLLOW_set_in_assignment_statement1024 = new BitSet(new long[]{0x0000001FFFFFFBF0L});
public static final BitSet FOLLOW_COMMENT_in_assignment_statement1043 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_assignment_statement1047 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_IDENTIFIER_in_assignment_statement1129 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_assignment_statement1137 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_assignment_statement1139 = new BitSet(new long[]{0x000000090006FB00L});
public static final BitSet FOLLOW_value_in_assignment_statement1147 = new BitSet(new long[]{0x0000001FDFFFFBF0L});
public static final BitSet FOLLOW_bad_value_in_assignment_statement1154 = new BitSet(new long[]{0x0000001FDFFFFBF0L});
public static final BitSet FOLLOW_set_in_assignment_statement1163 = new BitSet(new long[]{0x0000001FDFFFFBF0L});
public static final BitSet FOLLOW_COMMENT_in_assignment_statement1184 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_assignment_statement1188 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_IDENTIFIER_in_assignment_statement1218 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_assignment_statement1226 = new BitSet(new long[]{0x0000000000000180L});
public static final BitSet FOLLOW_COMMENT_in_assignment_statement1233 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_assignment_statement1237 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_IDENTIFIER_in_assignment_statement1297 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_assignment_statement1304 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_text_string_value_unterminated_in_assignment_statement1310 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_scalar_value_in_value1343 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_sequence_value_in_value1364 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_value_in_value1385 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_numeric_value_in_scalar_value1421 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_date_time_value_in_scalar_value1442 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_text_string_value_in_scalar_value1463 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_symbol_value_in_scalar_value1484 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_INTEGER_in_numeric_value1520 = new BitSet(new long[]{0x0000000000000402L});
public static final BitSet FOLLOW_UNITS_in_numeric_value1525 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_BASED_INTEGER_in_numeric_value1547 = new BitSet(new long[]{0x0000000000000402L});
public static final BitSet FOLLOW_UNITS_in_numeric_value1552 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_REAL_in_numeric_value1574 = new BitSet(new long[]{0x0000000000000402L});
public static final BitSet FOLLOW_UNITS_in_numeric_value1579 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_QUOTED_in_text_string_value1616 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_BAD_TOKEN_in_bad_value1647 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_QUOTED_UNTERMINATED_in_text_string_value_unterminated1672 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_DATETIME_in_date_time_value1704 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_IDENTIFIER_in_symbol_value1739 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_SYMBOL_in_symbol_value1759 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_sequence_2d_in_sequence_value1803 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_sequence_1d_in_sequence_value1824 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_32_in_sequence_1d1857 = new BitSet(new long[]{0x0000000200067B00L});
public static final BitSet FOLLOW_nl_in_sequence_1d1859 = new BitSet(new long[]{0x0000000200067A00L});
public static final BitSet FOLLOW_scalar_list_in_sequence_1d1863 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_33_in_sequence_1d1866 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_scalar_value_in_scalar_list1908 = new BitSet(new long[]{0x0000000400067B00L});
public static final BitSet FOLLOW_nl_in_scalar_list1913 = new BitSet(new long[]{0x0000000400067A02L});
public static final BitSet FOLLOW_34_in_scalar_list1925 = new BitSet(new long[]{0x0000000000067B00L});
public static final BitSet FOLLOW_nl_in_scalar_list1927 = new BitSet(new long[]{0x0000000000067A00L});
public static final BitSet FOLLOW_scalar_value_in_scalar_list1933 = new BitSet(new long[]{0x0000000400067B00L});
public static final BitSet FOLLOW_nl_in_scalar_list1936 = new BitSet(new long[]{0x0000000400067A02L});
public static final BitSet FOLLOW_32_in_sequence_2d1962 = new BitSet(new long[]{0x0000000300000100L});
public static final BitSet FOLLOW_nl_in_sequence_2d1964 = new BitSet(new long[]{0x0000000300000000L});
public static final BitSet FOLLOW_sequence_list_in_sequence_2d1968 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_33_in_sequence_2d1971 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_sequence_1d_in_sequence_list2013 = new BitSet(new long[]{0x0000000500000100L});
public static final BitSet FOLLOW_nl_in_sequence_list2018 = new BitSet(new long[]{0x0000000500000002L});
public static final BitSet FOLLOW_34_in_sequence_list2030 = new BitSet(new long[]{0x0000000100000100L});
public static final BitSet FOLLOW_nl_in_sequence_list2032 = new BitSet(new long[]{0x0000000100000000L});
public static final BitSet FOLLOW_sequence_1d_in_sequence_list2038 = new BitSet(new long[]{0x0000000500000100L});
public static final BitSet FOLLOW_nl_in_sequence_list2041 = new BitSet(new long[]{0x0000000500000002L});
public static final BitSet FOLLOW_35_in_set_value2067 = new BitSet(new long[]{0x0000001000067B00L});
public static final BitSet FOLLOW_nl_in_set_value2069 = new BitSet(new long[]{0x0000001000067A00L});
public static final BitSet FOLLOW_item_list_in_set_value2073 = new BitSet(new long[]{0x0000001000000000L});
public static final BitSet FOLLOW_36_in_set_value2078 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_scalar_value_in_item_list2110 = new BitSet(new long[]{0x0000000400067B00L});
public static final BitSet FOLLOW_nl_in_item_list2115 = new BitSet(new long[]{0x0000000400067A02L});
public static final BitSet FOLLOW_34_in_item_list2127 = new BitSet(new long[]{0x0000000000067B00L});
public static final BitSet FOLLOW_nl_in_item_list2129 = new BitSet(new long[]{0x0000000000067A00L});
public static final BitSet FOLLOW_scalar_value_in_item_list2135 = new BitSet(new long[]{0x0000000400067B00L});
public static final BitSet FOLLOW_nl_in_item_list2138 = new BitSet(new long[]{0x0000000400067A02L});
public static final BitSet FOLLOW_EOL_in_nl2161 = new BitSet(new long[]{0x0000000000000102L});
public static final BitSet FOLLOW_set_in_synpred1_ODL479 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_synpred2_ODL512 = new BitSet(new long[]{0x0000001FFFFFFFE0L});
public static final BitSet FOLLOW_set_in_synpred2_ODL524 = new BitSet(new long[]{0x0000001FFFFFFFE0L});
public static final BitSet FOLLOW_EOL_in_synpred2_ODL535 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_synpred3_ODL595 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_END_OBJECT_in_synpred4_ODL608 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_synpred5_ODL736 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_synpred6_ODL769 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_synpred7_ODL823 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_END_GROUP_in_synpred8_ODL836 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_IDENTIFIER_in_synpred9_ODL944 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_synpred9_ODL947 = new BitSet(new long[]{0x000000090006FA00L});
public static final BitSet FOLLOW_value_in_synpred9_ODL950 = new BitSet(new long[]{0x0000001FFFFFFBF0L});
public static final BitSet FOLLOW_bad_value_in_synpred9_ODL953 = new BitSet(new long[]{0x0000001FFFFFFBF0L});
public static final BitSet FOLLOW_set_in_synpred9_ODL957 = new BitSet(new long[]{0x0000001FFFFFFBF0L});
public static final BitSet FOLLOW_COMMENT_in_synpred9_ODL967 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_synpred9_ODL970 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_IDENTIFIER_in_synpred10_ODL1072 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_synpred10_ODL1075 = new BitSet(new long[]{0x0000000000000180L});
public static final BitSet FOLLOW_COMMENT_in_synpred10_ODL1077 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_synpred10_ODL1080 = new BitSet(new long[]{0x000000090006FB00L});
public static final BitSet FOLLOW_value_in_synpred10_ODL1084 = new BitSet(new long[]{0x0000001FDFFFFBF0L});
public static final BitSet FOLLOW_bad_value_in_synpred10_ODL1087 = new BitSet(new long[]{0x0000001FDFFFFBF0L});
public static final BitSet FOLLOW_set_in_synpred10_ODL1091 = new BitSet(new long[]{0x0000001FDFFFFBF0L});
public static final BitSet FOLLOW_COMMENT_in_synpred10_ODL1103 = new BitSet(new long[]{0x0000000000000100L});
public static final BitSet FOLLOW_EOL_in_synpred10_ODL1106 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_IDENTIFIER_in_synpred11_ODL1271 = new BitSet(new long[]{0x0000000020000000L});
public static final BitSet FOLLOW_29_in_synpred11_ODL1273 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_QUOTED_UNTERMINATED_in_synpred11_ODL1275 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_synpred11_ODL1277 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_32_in_synpred12_ODL1792 = new BitSet(new long[]{0x0000000100000100L});
public static final BitSet FOLLOW_nl_in_synpred12_ODL1794 = new BitSet(new long[]{0x0000000100000000L});
public static final BitSet FOLLOW_32_in_synpred12_ODL1796 = new BitSet(new long[]{0x0000000000000002L});
}