org.pentaho.di.trans.steps.edi2xml.grammar
Class FastSimpleGenericEdifactDirectXMLParser

java.lang.Object
  extended by org.antlr.runtime.BaseRecognizer
      extended by org.antlr.runtime.Parser
          extended by org.pentaho.di.trans.steps.edi2xml.grammar.FastSimpleGenericEdifactDirectXMLParser

public class FastSimpleGenericEdifactDirectXMLParser
extends org.antlr.runtime.Parser


Nested Class Summary
static class FastSimpleGenericEdifactDirectXMLParser.composite_data_item_return
           
static class FastSimpleGenericEdifactDirectXMLParser.composite_data_item_val_return
           
static class FastSimpleGenericEdifactDirectXMLParser.data_element_payload_return
           
static class FastSimpleGenericEdifactDirectXMLParser.data_element_return
           
static class FastSimpleGenericEdifactDirectXMLParser.ds_return
           
static class FastSimpleGenericEdifactDirectXMLParser.edifact_return
           
static class FastSimpleGenericEdifactDirectXMLParser.segment_return
           
static class FastSimpleGenericEdifactDirectXMLParser.ss_return
           
static class FastSimpleGenericEdifactDirectXMLParser.STAttrMap
          allows convenient multi-value initialization: "new STAttrMap().put(...).put(...)"
static class FastSimpleGenericEdifactDirectXMLParser.tag_index_id_return
           
static class FastSimpleGenericEdifactDirectXMLParser.tag_index_id_val_return
           
static class FastSimpleGenericEdifactDirectXMLParser.tag_name_return
           
static class FastSimpleGenericEdifactDirectXMLParser.tag_return
           
static class FastSimpleGenericEdifactDirectXMLParser.txt_return
           
static class FastSimpleGenericEdifactDirectXMLParser.una_return
           
 
Field Summary
 StringBuilder buf
           
static int COMPLEX_ELEMENT_ITEM_SEPARATOR
           
static int ELEMENT_SEPARATOR
           
static int EOF
           
static org.antlr.runtime.BitSet FOLLOW_COMPLEX_ELEMENT_ITEM_SEPARATOR_in_ds271
           
static org.antlr.runtime.BitSet FOLLOW_composite_data_item_in_data_element_payload160
           
static org.antlr.runtime.BitSet FOLLOW_composite_data_item_in_data_element_payload166
           
static org.antlr.runtime.BitSet FOLLOW_composite_data_item_val_in_composite_data_item180
           
static org.antlr.runtime.BitSet FOLLOW_data_element_in_segment114
           
static org.antlr.runtime.BitSet FOLLOW_data_element_payload_in_data_element145
           
static org.antlr.runtime.BitSet FOLLOW_ds_in_data_element_payload162
           
static org.antlr.runtime.BitSet FOLLOW_ds_in_tag213
           
static org.antlr.runtime.BitSet FOLLOW_ELEMENT_SEPARATOR_in_ss280
           
static org.antlr.runtime.BitSet FOLLOW_segment_in_edifact76
           
static org.antlr.runtime.BitSet FOLLOW_SEGMENT_TERMINATOR_in_segment117
           
static org.antlr.runtime.BitSet FOLLOW_ss_in_data_element143
           
static org.antlr.runtime.BitSet FOLLOW_tag_in_segment107
           
static org.antlr.runtime.BitSet FOLLOW_tag_index_id_in_tag217
           
static org.antlr.runtime.BitSet FOLLOW_tag_index_id_val_in_tag_index_id249
           
static org.antlr.runtime.BitSet FOLLOW_tag_name_in_tag208
           
static org.antlr.runtime.BitSet FOLLOW_TEXT_DATA_in_txt289
           
static org.antlr.runtime.BitSet FOLLOW_txt_in_composite_data_item_val193
           
static org.antlr.runtime.BitSet FOLLOW_txt_in_tag_index_id_val258
           
static org.antlr.runtime.BitSet FOLLOW_txt_in_tag_name239
           
static org.antlr.runtime.BitSet FOLLOW_una_in_edifact64
           
static int RELEASE_CHARACTER
           
static int SEGMENT_TERMINATOR
           
static int T__10
           
static int T__11
           
static int T__12
           
static int T__13
           
static int T__14
           
static int T__9
           
static String TAG_EDIFACT
           
static String TAG_EDIFACT_END
           
static String TAG_ELEMENT
           
static String TAG_ELEMENT_END
           
static String TAG_VALUE
           
static String TAG_VALUE_END
           
 LinkedList tagIndexes
           
static int TEXT_DATA
           
static String[] tokenNames
           
static String XML_HEAD
           
 
Fields inherited from class org.antlr.runtime.Parser
input
 
Fields inherited from class org.antlr.runtime.BaseRecognizer
DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME
 
Constructor Summary
FastSimpleGenericEdifactDirectXMLParser(org.antlr.runtime.TokenStream input)
           
FastSimpleGenericEdifactDirectXMLParser(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
           
 
Method Summary
 void appendIndexes()
           
 FastSimpleGenericEdifactDirectXMLParser.composite_data_item_val_return composite_data_item_val()
           
 FastSimpleGenericEdifactDirectXMLParser.composite_data_item_return composite_data_item()
           
 FastSimpleGenericEdifactDirectXMLParser.data_element_payload_return data_element_payload()
           
 FastSimpleGenericEdifactDirectXMLParser.data_element_return data_element()
           
 FastSimpleGenericEdifactDirectXMLParser.ds_return ds()
           
 FastSimpleGenericEdifactDirectXMLParser.edifact_return edifact()
           
 org.antlr.runtime.Parser[] getDelegates()
           
 String getGrammarFileName()
           
 org.antlr.stringtemplate.StringTemplateGroup getTemplateLib()
           
 String[] getTokenNames()
           
 Object recoverFromMismatchedSet(org.antlr.runtime.IntStream input, org.antlr.runtime.RecognitionException e, org.antlr.runtime.BitSet follow)
           
 String sanitizeText(String txt)
           
 FastSimpleGenericEdifactDirectXMLParser.segment_return segment()
           
 void setTemplateLib(org.antlr.stringtemplate.StringTemplateGroup templateLib)
           
 FastSimpleGenericEdifactDirectXMLParser.ss_return ss()
           
 FastSimpleGenericEdifactDirectXMLParser.tag_index_id_val_return tag_index_id_val()
           
 FastSimpleGenericEdifactDirectXMLParser.tag_index_id_return tag_index_id()
           
 FastSimpleGenericEdifactDirectXMLParser.tag_name_return tag_name()
           
 FastSimpleGenericEdifactDirectXMLParser.tag_return tag()
           
 FastSimpleGenericEdifactDirectXMLParser.txt_return txt()
           
 FastSimpleGenericEdifactDirectXMLParser.una_return una()
           
 
Methods inherited from class org.antlr.runtime.Parser
getSourceName, getTokenStream, reset, setTokenStream, traceIn, traceOut
 
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, consumeUntil, consumeUntil, displayRecognitionError, emitErrorMessage, endResync, failed, getBacktrackingLevel, getErrorHeader, getErrorMessage, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, recover, reportError, setBacktrackingLevel, toStrings, traceIn, traceOut
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tokenNames

public static final String[] tokenNames

EOF

public static final int EOF
See Also:
Constant Field Values

T__9

public static final int T__9
See Also:
Constant Field Values

T__10

public static final int T__10
See Also:
Constant Field Values

T__11

public static final int T__11
See Also:
Constant Field Values

T__12

public static final int T__12
See Also:
Constant Field Values

T__13

public static final int T__13
See Also:
Constant Field Values

T__14

public static final int T__14
See Also:
Constant Field Values

COMPLEX_ELEMENT_ITEM_SEPARATOR

public static final int COMPLEX_ELEMENT_ITEM_SEPARATOR
See Also:
Constant Field Values

ELEMENT_SEPARATOR

public static final int ELEMENT_SEPARATOR
See Also:
Constant Field Values

RELEASE_CHARACTER

public static final int RELEASE_CHARACTER
See Also:
Constant Field Values

SEGMENT_TERMINATOR

public static final int SEGMENT_TERMINATOR
See Also:
Constant Field Values

TEXT_DATA

public static final int TEXT_DATA
See Also:
Constant Field Values

XML_HEAD

public static final String XML_HEAD
See Also:
Constant Field Values

TAG_EDIFACT

public static final String TAG_EDIFACT
See Also:
Constant Field Values

TAG_EDIFACT_END

public static final String TAG_EDIFACT_END
See Also:
Constant Field Values

TAG_ELEMENT

public static final String TAG_ELEMENT
See Also:
Constant Field Values

TAG_ELEMENT_END

public static final String TAG_ELEMENT_END
See Also:
Constant Field Values

TAG_VALUE

public static final String TAG_VALUE
See Also:
Constant Field Values

TAG_VALUE_END

public static final String TAG_VALUE_END
See Also:
Constant Field Values

tagIndexes

public LinkedList tagIndexes

buf

public StringBuilder buf

FOLLOW_una_in_edifact64

public static final org.antlr.runtime.BitSet FOLLOW_una_in_edifact64

FOLLOW_segment_in_edifact76

public static final org.antlr.runtime.BitSet FOLLOW_segment_in_edifact76

FOLLOW_tag_in_segment107

public static final org.antlr.runtime.BitSet FOLLOW_tag_in_segment107

FOLLOW_data_element_in_segment114

public static final org.antlr.runtime.BitSet FOLLOW_data_element_in_segment114

FOLLOW_SEGMENT_TERMINATOR_in_segment117

public static final org.antlr.runtime.BitSet FOLLOW_SEGMENT_TERMINATOR_in_segment117

FOLLOW_ss_in_data_element143

public static final org.antlr.runtime.BitSet FOLLOW_ss_in_data_element143

FOLLOW_data_element_payload_in_data_element145

public static final org.antlr.runtime.BitSet FOLLOW_data_element_payload_in_data_element145

FOLLOW_composite_data_item_in_data_element_payload160

public static final org.antlr.runtime.BitSet FOLLOW_composite_data_item_in_data_element_payload160

FOLLOW_ds_in_data_element_payload162

public static final org.antlr.runtime.BitSet FOLLOW_ds_in_data_element_payload162

FOLLOW_composite_data_item_in_data_element_payload166

public static final org.antlr.runtime.BitSet FOLLOW_composite_data_item_in_data_element_payload166

FOLLOW_composite_data_item_val_in_composite_data_item180

public static final org.antlr.runtime.BitSet FOLLOW_composite_data_item_val_in_composite_data_item180

FOLLOW_txt_in_composite_data_item_val193

public static final org.antlr.runtime.BitSet FOLLOW_txt_in_composite_data_item_val193

FOLLOW_tag_name_in_tag208

public static final org.antlr.runtime.BitSet FOLLOW_tag_name_in_tag208

FOLLOW_ds_in_tag213

public static final org.antlr.runtime.BitSet FOLLOW_ds_in_tag213

FOLLOW_tag_index_id_in_tag217

public static final org.antlr.runtime.BitSet FOLLOW_tag_index_id_in_tag217

FOLLOW_txt_in_tag_name239

public static final org.antlr.runtime.BitSet FOLLOW_txt_in_tag_name239

FOLLOW_tag_index_id_val_in_tag_index_id249

public static final org.antlr.runtime.BitSet FOLLOW_tag_index_id_val_in_tag_index_id249

FOLLOW_txt_in_tag_index_id_val258

public static final org.antlr.runtime.BitSet FOLLOW_txt_in_tag_index_id_val258

FOLLOW_COMPLEX_ELEMENT_ITEM_SEPARATOR_in_ds271

public static final org.antlr.runtime.BitSet FOLLOW_COMPLEX_ELEMENT_ITEM_SEPARATOR_in_ds271

FOLLOW_ELEMENT_SEPARATOR_in_ss280

public static final org.antlr.runtime.BitSet FOLLOW_ELEMENT_SEPARATOR_in_ss280

FOLLOW_TEXT_DATA_in_txt289

public static final org.antlr.runtime.BitSet FOLLOW_TEXT_DATA_in_txt289
Constructor Detail

FastSimpleGenericEdifactDirectXMLParser

public FastSimpleGenericEdifactDirectXMLParser(org.antlr.runtime.TokenStream input)

FastSimpleGenericEdifactDirectXMLParser

public FastSimpleGenericEdifactDirectXMLParser(org.antlr.runtime.TokenStream input,
                                               org.antlr.runtime.RecognizerSharedState state)
Method Detail

getDelegates

public org.antlr.runtime.Parser[] getDelegates()

setTemplateLib

public void setTemplateLib(org.antlr.stringtemplate.StringTemplateGroup templateLib)

getTemplateLib

public org.antlr.stringtemplate.StringTemplateGroup getTemplateLib()

getTokenNames

public String[] getTokenNames()
Overrides:
getTokenNames in class org.antlr.runtime.BaseRecognizer

getGrammarFileName

public String getGrammarFileName()
Overrides:
getGrammarFileName in class org.antlr.runtime.BaseRecognizer

sanitizeText

public String sanitizeText(String txt)

appendIndexes

public void appendIndexes()

recoverFromMismatchedSet

public Object recoverFromMismatchedSet(org.antlr.runtime.IntStream input,
                                       org.antlr.runtime.RecognitionException e,
                                       org.antlr.runtime.BitSet follow)
                                throws org.antlr.runtime.RecognitionException
Overrides:
recoverFromMismatchedSet in class org.antlr.runtime.BaseRecognizer
Throws:
org.antlr.runtime.RecognitionException

edifact

public final FastSimpleGenericEdifactDirectXMLParser.edifact_return edifact()
                                                                     throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

una

public final FastSimpleGenericEdifactDirectXMLParser.una_return una()
                                                             throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

segment

public final FastSimpleGenericEdifactDirectXMLParser.segment_return segment()
                                                                     throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

data_element

public final FastSimpleGenericEdifactDirectXMLParser.data_element_return data_element()
                                                                               throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

data_element_payload

public final FastSimpleGenericEdifactDirectXMLParser.data_element_payload_return data_element_payload()
                                                                                               throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

composite_data_item

public final FastSimpleGenericEdifactDirectXMLParser.composite_data_item_return composite_data_item()
                                                                                             throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

composite_data_item_val

public final FastSimpleGenericEdifactDirectXMLParser.composite_data_item_val_return composite_data_item_val()
                                                                                                     throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

tag

public final FastSimpleGenericEdifactDirectXMLParser.tag_return tag()
                                                             throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

tag_name

public final FastSimpleGenericEdifactDirectXMLParser.tag_name_return tag_name()
                                                                       throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

tag_index_id

public final FastSimpleGenericEdifactDirectXMLParser.tag_index_id_return tag_index_id()
                                                                               throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

tag_index_id_val

public final FastSimpleGenericEdifactDirectXMLParser.tag_index_id_val_return tag_index_id_val()
                                                                                       throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

ds

public final FastSimpleGenericEdifactDirectXMLParser.ds_return ds()
                                                           throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

ss

public final FastSimpleGenericEdifactDirectXMLParser.ss_return ss()
                                                           throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

txt

public final FastSimpleGenericEdifactDirectXMLParser.txt_return txt()
                                                             throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException