/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
gUnitBaseTest.java | 47 * ANTLR parser/tree walker 84 /** Use Reflection to create instances of lexer and parser */ 153 // Invoke target parser.rule 172 Class parser = null; local 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 parse 318 Class parser = null; local [all...] |
/external/bison/ |
cfg.mk | 18 # up-to-date, then compile our parser again with our up-to-date bison. 26 manual_title = The Yacc-compatible Parser Generator
|
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_construction/ |
location_info_mixin.js | 44 function patchOpenElementsStack(stack, parser) { 45 var treeAdapter = parser.treeAdapter; 48 setEndLocation(this.current, parser.currentToken, treeAdapter); 54 setEndLocation(this.items[i], parser.currentToken, treeAdapter); 60 setEndLocation(element, parser.currentToken, treeAdapter); 65 exports.assign = function (parser) { 66 //NOTE: obtain Parser proto this way to avoid module circular references 67 var parserProto = Object.getPrototypeOf(parser), 68 treeAdapter = parser.treeAdapter; 72 parser._reset = function (html, document, fragmentContext) [all...] |
/external/chromium-trace/catapult/third_party/vinn/vinn/ |
html_to_js_generator.js | 17 var parser = new parse5.Parser(adapter, {locationInfo: true}); 158 var document = parser.parse(this.html_text_);
|
/external/deqp/executor/tools/ |
xeCommandLineExecutor.cpp | 86 void registerOptions (de::cmdline::Parser& parser) 97 parser << Option<StartServer> ("s", "start-server", "Start local execserver. Path to the execserver binary.") 143 de::cmdline::Parser parser; local 148 opt::registerOptions(parser); 150 if (!parser.parse(argc-1, argv+1, &opts, std::cerr)) 153 parser.help(std::cout); 390 xe::TestLogParser parser (&handler); 402 parser.parse(&buf[0], numRead) 428 xe::TestResultParser parser; local [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
parser.ml | 2 * Parser 18 let rec parse_primary = parser 29 let rec parse_args accumulator = parser 31 begin parser 37 let rec parse_ident id = parser 61 begin parser 68 begin parser 73 begin parser 123 and parse_expr = parser 129 let rec parse_args accumulator = parser [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
parser.ml | 2 * Parser 18 let rec parse_primary = parser 29 let rec parse_args accumulator = parser 31 begin parser 37 let rec parse_ident id = parser 61 begin parser 68 begin parser 73 begin parser 88 and parse_unary = parser 134 and parse_expr = parser [all...] |
/external/llvm/lib/MC/MCParser/ |
COFFAsmParser.cpp | 1 //===- COFFAsmParser.cpp - COFF Assembly Parser ---------------------------===// 46 void Initialize(MCAsmParser &Parser) override { 48 MCAsmParserExtension::Initialize(Parser);
|
ELFAsmParser.cpp | 1 //===- ELFAsmParser.cpp - ELF Assembly Parser -----------------------------===// 40 void Initialize(MCAsmParser &Parser) override { 42 this->MCAsmParserExtension::Initialize(Parser);
|
/prebuilts/tools/common/m2/repository/org/apache/maven/wagon/wagon-http-shared/1.0-beta-6/ |
wagon-http-shared-1.0-beta-6.jar | |
/system/core/init/ |
init.cpp | 684 Parser& parser = Parser::GetInstance(); local 685 parser.AddSectionParser("service",std::make_unique<ServiceParser>()); 686 parser.AddSectionParser("on", std::make_unique<ActionParser>()); 687 parser.AddSectionParser("import", std::make_unique<ImportParser>()); 688 parser.ParseConfig("/init.rc");
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/ |
debug-mode.rb | 80 parser = grammar_module::Parser.new( tokens, options ) 81 parser.send( rule ) 90 example 'basic debug-mode parser using a RecordEventListener' do 113 example 'debug-mode parser using a socket proxy to transmit events' do 143 example 'debug-mode parser events triggered by recognition errors' do 180 example 'debug-mode parser events triggered by semantic predicate evaluation' do 213 example 'debug-mode parser events triggered by recognizing a (...)+ block' do 284 example 'debug-mode parser events triggered by recognizing a (...)* block' do 354 example 'debug-mode parser events triggered by a mismatched set error' d [all...] |
/external/clang/lib/AST/ |
RawCommentList.cpp | 217 comments::Parser P(L, S, Context.getAllocator(), Context.getSourceManager(),
|
/external/clang/unittests/Lex/ |
PPCallbacksTest.cpp | 24 #include "clang/Parse/Parser.h" 210 // parser actually sets correct pragma handlers for preprocessor 211 // according to LangOptions, so we init Parser to register opencl 220 Parser P(PP, S, false);
|
/external/protobuf/src/google/protobuf/compiler/ |
importer.cc | 50 #include <google/protobuf/compiler/parser.h> 83 // - It implements the ErrorCollector interface (used by Tokenizer and Parser) 134 // Set up the tokenizer and parser. 138 Parser parser; local 140 parser.RecordErrorsTo(&file_error_collector); 143 parser.RecordSourceLocationsTo(&source_locations_); 148 return parser.Parse(&tokenizer, output) &&
|
/external/testng/src/main/java/org/testng/xml/ |
LaunchSuite.java | 143 suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\"");
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
markupbase.py | 25 """Parser base class which provides some common support methods used 127 # this could be handled in a separate doctype parser
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
markupbase.py | 25 """Parser base class which provides some common support methods used 127 # this could be handled in a separate doctype parser
|
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/asm/internal/asm/ |
operand_test.go | 30 func newParser(goarch string) *Parser { 35 func testOperandParser(t *testing.T, parser *Parser, tests []operandTest) { 37 parser.start(lex.Tokenize(test.input)) 39 parser.operand(&addr) 48 parser := newParser("amd64") 49 testOperandParser(t, parser, amd64OperandTests) 53 parser := newParser("386") 54 testOperandParser(t, parser, x86OperandTests) 58 parser := newParser("arm" [all...] |
/prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/asm/internal/asm/ |
operand_test.go | 30 func newParser(goarch string) *Parser { 35 func testOperandParser(t *testing.T, parser *Parser, tests []operandTest) { 37 parser.start(lex.Tokenize(test.input)) 39 parser.operand(&addr) 48 parser := newParser("amd64") 49 testOperandParser(t, parser, amd64OperandTests) 53 parser := newParser("386") 54 testOperandParser(t, parser, x86OperandTests) 58 parser := newParser("arm" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
markupbase.py | 25 """Parser base class which provides some common support methods used 127 # this could be handled in a separate doctype parser
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
markupbase.py | 25 """Parser base class which provides some common support methods used 127 # this could be handled in a separate doctype parser
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
debug.py | 32 from antlr3 import Parser, TokenStream, RecognitionException, Token 35 class DebugParser(Parser): 43 # Who to notify when events in the parser occur. 50 """Provide a new debug event listener for this parser. Notify the 82 Parser.reportError(self, exc) 414 """The parser has just entered a rule. No decision has been made about 492 """The parser is going to look arbitrarily ahead; mark this location, 516 """To watch a parser move through the grammar, the parser needs to 522 the parser whenever it hits this line/pos [all...] |
/external/opencv3/3rdparty/jinja2/ |
environment.py | 21 from jinja2.parser import Parser 271 # lexer / parser information 459 return Parser(self, source, name, encode_filename(filename)).parse() 487 """Called by the parser to do the preprocessing and filtering 584 parser = Parser(self, source, state='variable') 587 expr = parser.parse_expression() 588 if not parser.stream.eos: 590 parser.stream.current.lineno [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
SAXParserTest.java | 29 import org.xml.sax.Parser; 63 public Parser getParser() throws SAXException { 121 SAXParser parser; field in class:SAXParserTest 143 // we differntiate between a validating and a non validating parser 145 SAXParser parser = SAXParserFactory.newInstance().newSAXParser(); local 146 validating = parser.isValidating(); 190 parser = spf.newSAXParser(); 191 assertNotNull(parser); 215 // parser.parse(is, dh, ParsingSupport.XML_SYSTEM_ID); 232 // parser.parse(is, hb, ParsingSupport.XML_SYSTEM_ID) 828 Parser parser = spf.newSAXParser().getParser(); local 851 SAXParser parser = spf.newSAXParser(); local 863 SAXParser parser = spf.newSAXParser(); local 873 SAXParser parser = spf.newSAXParser(); local 884 SAXParser parser = spf.newSAXParser(); local 894 SAXParser parser = spf.newSAXParser(); local [all...] |