Searched refs:parser (Results 1 - 25 of 1876) sorted by path

1234567891011>>

/external/aac/libMpegTPDec/src/
H A Dtpdec_lib.cpp128 transportdec_parser_t parser; /* Format specific parser structs. */ member in struct:TRANSPORTDEC
177 hInput->parser.adts.decoderCanDoMpeg4 = 1;
179 hInput->parser.adts.decoderCanDoMpeg4 = 0;
180 adtsRead_CrcInit(&hInput->parser.adts);
181 hInput->parser.adts.BufferFullnesStartFlag = 1;
237 CLatmDemux *pLatmDemux = &hTp->parser.latm;
352 if (hTp->parser.adts.bs.adts_fullness != 0x7ff) {
353 bufferFullness = hTp->parser.adts.bs.frame_length*8 + hTp->parser
[all...]
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/
H A DMain.java25 /** Just a simple test driver for the ASP parser
61 System.err.println("ANTLR demo parser threw exception:");
110 System.err.println("ANTLR demo parser caught error on file open:");
130 // stream to be consumed by the parser
134 // Now we need an instance of our parser
136 TParser parser = new TParser(tokens);
152 // And now we merely invoke the start rule for the parser
156 a_return psrReturn = parser.a();
179 if (parser.getNumberOfSyntaxErrors() == 0) {
243 // Something went wrong in the parser, repor
[all...]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
H A DInterp.java104 gUnitParser parser = new gUnitParser(tokens, grammarInfo);
105 parser.gUnitDef(); // parse gunit script and save elements to grammarInfo
H A DgUnitBaseTest.java47 * ANTLR parser/tree walker
84 /** Use Reflection to create instances of lexer and parser */
153 // Invoke target parser.rule
172 Class parser = null;
178 /** Use Reflection to create instances of lexer and parser */
187 parser = Class.forName(parserPath);
188 Class[] parArgTypes = new Class[]{TokenStream.class}; // assign type to parser's args
189 Constructor parConstructor = parser.getConstructor(parArgTypes);
190 Object[] parArgs = new Object[]{tokens}; // assign value to parser's args
191 Parser parObj = (Parser)parConstructor.newInstance(parArgs); // makes new instance of parser
[all...]
H A DgUnitExecutor.java114 /** Set up appropriate path for parser/lexer if using package */
125 // Execute unit test of for parser, lexer and tree grammar
178 // Run parser, and get the return value or stdout or stderr if there is
239 /** Use Reflection to create instances of lexer and parser */
309 Class parser = null;
316 /** Use Reflection to create instances of lexer and parser */
325 parser = classForName(parserName);
326 Class[] parArgTypes = new Class[]{TokenStream.class}; // assign type to parser's args
327 Constructor parConstructor = parser.getConstructor(parArgTypes);
328 Object[] parArgs = new Object[]{tokens}; // assign value to parser'
[all...]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
H A DTestSuiteFactory.java98 final ANTLRv3Parser parser = new ANTLRv3Parser(tokens);
99 parser.rules = ruleNames;
100 parser.grammarDef();
164 final StGUnitParser parser = new StGUnitParser(tokens);
166 parser.adapter = adapter;
167 parser.gUnitDef();
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
H A DgUnitAdapter.java66 final gUnitParser parser = new gUnitParser(tokens, grammarInfo);
67 parser.gUnitDef(); // parse gunit script and save elements to grammarInfo
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DBaseRecognizer.as4 * lexer, parser, and tree grammars. This is all the parsing
19 /** State of a lexer, parser, or tree parser are collected into a state
35 /** reset the parser's state; subclasses must rewinds the input stream */
141 * This method sets errorRecovery to indicate the parser is recovering
143 * To get out of recovery mode, the parser must successfully match
278 /** Get number of recognition errors (lexer, parser, tree parser). Each
279 * recognizer tracks its own number. So parser and lexer each have
354 * rule invocation, the parser pushe
[all...]
H A DRecognizerSharedState.as8 * parser is protected.
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DRewriteRuleNodeStream.as4 /** Queues up nodes matched on left side of -> in a tree parser. This is
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3parser.h2 * Base implementation of an ANTLR3 parser.
45 /** This is the main interface for an ANTLR3 parser.
54 /** A pointer to the base recognizer, where most of the parser functions actually
55 * live because they are shared between parser and tree parser and this is the
61 /** A provider of a tokenstream interface, for the parser to consume
67 * installs the debugging versions of the parser methods. This means that
68 * a non debug parser incurs no overhead because of the debugging stuff.
70 void (*setDebugListener) (struct ANTLR3_PARSER_struct * parser, pANTLR3_DEBUG_EVENT_LISTENER dbg);
73 * for the parser
[all...]
H A Dantlr3treeparser.h52 /** A pointer to the base recognizer, where most of the parser functions actually
53 * live because they are shared between parser and tree parser and this is the
59 /** Pointer to the common tree node stream for the parser
63 /** Set the input stream and reset the parser
65 void (*setTreeNodeStream) (struct ANTLR3_TREE_PARSER_struct * parser, pANTLR3_COMMON_TREE_NODE_STREAM input);
69 pANTLR3_COMMON_TREE_NODE_STREAM (*getTreeNodeStream) (struct ANTLR3_TREE_PARSER_struct * parser);
71 /** Pointer to a function that knows how to free resources of an ANTLR3 tree parser.
73 void (*free) (struct ANTLR3_TREE_PARSER_struct * parser);
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3baserecognizer.c3 * Any function can be overridden by a lexer/parser/tree parser or by the
44 /* Interface functions -standard implementations cover parser and treeparser
45 * almost completely but are overridden by the parser or tree parser as needed. Lexer overrides
273 pANTLR3_PARSER parser; local
286 parser = NULL;
301 parser = (pANTLR3_PARSER) (recognizer->super);
302 cts = (pANTLR3_COMMON_TOKEN_STREAM)(parser->tstream->super);
303 is = parser
418 pANTLR3_PARSER parser; local
491 pANTLR3_PARSER parser; local
644 pANTLR3_PARSER parser; local
1010 pANTLR3_PARSER parser; local
1325 pANTLR3_PARSER parser; local
1434 pANTLR3_PARSER parser; local
1557 pANTLR3_PARSER parser; local
1623 pANTLR3_PARSER parser; local
1719 pANTLR3_PARSER parser; local
1769 pANTLR3_PARSER parser; local
1922 pANTLR3_PARSER parser; local
1997 pANTLR3_PARSER parser; local
2058 pANTLR3_PARSER parser; local
[all...]
H A Dantlr3parser.c2 * Implementation of the base functionality for an ANTLR3 parser.
38 static void setDebugListener (pANTLR3_PARSER parser, pANTLR3_DEBUG_EVENT_LISTENER dbg);
39 static void setTokenStream (pANTLR3_PARSER parser, pANTLR3_TOKEN_STREAM);
40 static pANTLR3_TOKEN_STREAM getTokenStream (pANTLR3_PARSER parser);
41 static void freeParser (pANTLR3_PARSER parser);
46 pANTLR3_PARSER parser; local
48 parser = antlr3ParserNewStream(sizeHint, tstream, state);
50 if (parser == NULL)
55 parser->setDebugListener(parser, db
63 pANTLR3_PARSER parser; local
104 pANTLR3_PARSER parser; local
122 freeParser(pANTLR3_PARSER parser) argument
146 setDebugListener(pANTLR3_PARSER parser, pANTLR3_DEBUG_EVENT_LISTENER dbg) argument
169 setTokenStream(pANTLR3_PARSER parser, pANTLR3_TOKEN_STREAM tstream) argument
176 getTokenStream(pANTLR3_PARSER parser) argument
[all...]
H A Dantlr3treeparser.c2 * Implementation of the tree parser and overrides for the base recognizer
40 /* Tree parser API
42 static void setTreeNodeStream (pANTLR3_TREE_PARSER parser, pANTLR3_COMMON_TREE_NODE_STREAM input);
44 getTreeNodeStream (pANTLR3_TREE_PARSER parser);
45 static void freeParser (pANTLR3_TREE_PARSER parser);
54 pANTLR3_TREE_PARSER parser; local
56 /** Allocate tree parser memory
58 parser =(pANTLR3_TREE_PARSER) ANTLR3_MALLOC(sizeof(ANTLR3_TREE_PARSER));
60 if (parser == NULL)
67 parser
127 freeParser(pANTLR3_TREE_PARSER parser) argument
153 setTreeNodeStream(pANTLR3_TREE_PARSER parser, pANTLR3_COMMON_TREE_NODE_STREAM input) argument
163 getTreeNodeStream(pANTLR3_TREE_PARSER parser) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
H A DProfiler.cs48 /** <summary>Using the debug event interface, track what is happening in the parser
63 /** Ack, should not store parser; can't do remote stuff. Well, we pass
66 public DebugParser parser = null; field in class:Antlr.Runtime.Debug.Profiler
95 public Profiler(DebugParser parser) { argument
96 this.parser = parser;
158 int startingLookaheadIndex = parser.TokenStream.Index;
159 ITokenStream input = parser.TokenStream;
230 /** The parser is in a decision if the decision depth > 0. This
265 // int thisRefIndex = parser
392 SetParser(DebugParser parser) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DITreeNodeStream.cs58 * for both parser and tree grammars. :)
75 * parser. Optional unless you use tree parser rule text attribute
116 #region REWRITING TREES (used by tree parser)
H A DTreeWizard.cs278 TreePatternParser parser =
280 TreePattern tpattern = (TreePattern)parser.Pattern();
362 TreePatternParser parser =
364 TreePattern tpattern = (TreePattern)parser.Pattern();
393 TreePatternParser parser =
395 TreePattern tpattern = (TreePattern)parser.Pattern();
469 TreePatternParser parser = new TreePatternParser(tokenizer, this, adaptor);
470 object t = parser.Pattern();
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
H A DParserDebugger.cs15 public ParserDebugger( Parser parser )
16 : this( parser, DebugEventSocketProxy.DEFAULT_DEBUGGER_PORT )
19 public ParserDebugger( Parser parser, int port ) argument
21 DebugEventSocketProxy proxy = new DebugEventSocketProxy( parser, port, null );
23 parser.TokenStream = new DebugTokenStream( parser.TokenStream, proxy );
36 public ParserDebugger( Parser parser, IDebugEventListener dbg ) argument
H A DProfiler.cs47 /** <summary>Using the debug event interface, track what is happening in the parser
63 /** Ack, should not store parser; can't do remote stuff. Well, we pass
66 public DebugParser parser = null; field in class:Antlr.Runtime.Debug.Profiler
96 public Profiler(DebugParser parser) argument
98 this.parser = parser;
169 int startingLookaheadIndex = parser.TokenStream.Index;
170 ITokenStream input = parser.TokenStream;
249 /** The parser is in a decision if the decision depth > 0. This
291 // int thisRefIndex = parser
435 SetParser(DebugParser parser) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/Tree/
H A DITreeNodeStream`1.cs60 * for both parser and tree grammars. :)
78 * parser. Optional unless you use tree parser rule text attribute
122 #region REWRITING TREES (used by tree parser)
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
H A DTestDotTreeGenerator.cs49 SimpleExpressionParser parser = new SimpleExpressionParser( tokens );
50 var result = parser.expression();
53 var adaptor = parser.TreeAdaptor;
H A DTestExpressionFeatures.g379 @parser::namespace{Antlr3.Runtime.Test}
81 @parser::header{using Console = System.Console;}

Completed in 847 milliseconds

1234567891011>>