/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
recognizers.rb | 181 Parser, and TreeParser are abstract classes. They can be instantiated, but 534 # rule invocation, the parser pushes the set of tokens that can 601 # So, you cna see that the parser walks up call chain looking 680 # action in the parser or tree parser works. It simply creates 713 # * override this method in your parser to do things 927 the lexer converts text into tokens for use by a parser, which recognizes larger 930 ANTLR parsers have a variety of entry points specified by parser rules, each of 948 If the lexer is preparing tokens for use by an ANTLR generated parser, the lexer 963 class Parser < ANTLR3::Parse [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
group-file-parser.rb | 59 # - - - - - - begin action @parser::header - - - - - - 66 # - - - - - - end action @parser::header - - - - - - - 96 class Parser < ANTLR3::Parser 167 # parser rule group_spec 244 # parser rule group_name 319 # parser rule member 405 # parser rule parameter_declaration 480 # parser rule parameters 534 # parser rule paramete [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
ParserTest.java | 55 * Unit test for {@link Parser}. 62 assertEquals(TestAllTypes.PARSER, 74 Parser<? extends MessageLite> parser = message.getParserForType(); local 75 assertMessageEquals(message, parser.parseFrom(data, registry)); 76 assertMessageEquals(message, parser.parseFrom( 79 assertMessageEquals(message, parser.parseFrom( 81 assertMessageEquals(message, parser.parseFrom( 83 assertMessageEquals(message, parser.parseFrom( 92 Parser<? extends MessageLite> parser = message.getParserForType() local 124 Parser<TestRequired> parser = TestRequired.PARSER; local [all...] |
/external/javassist/src/main/javassist/bytecode/ |
AnnotationsAttribute.java | 226 return new Parser(info, constPool).parseAnnotations(); 562 static class Parser extends Walker { 570 * Constructs a parser. This parser constructs a parse tree of 576 Parser(byte[] info, ConstPool cp) {
|
/frameworks/base/core/java/android/content/res/ |
XmlBlock.java | 71 return new Parser(nativeCreateParseState(mNative), this); 77 /*package*/ final class Parser implements XmlResourceParser { 78 Parser(int parseState, XmlBlock block) { 277 + ": parser must be on START_TAG to read next text", this, null); 294 + ": parser must be on START_TAG or TEXT to read text", this, null);
|
/packages/apps/Exchange/src/com/android/exchange/ |
EasOutboxService.java | 43 import com.android.exchange.adapter.Parser; 44 import com.android.exchange.adapter.Parser.EmptyStreamException; 194 private static class SendMailParser extends Parser { 453 // The parser holds the status
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/ |
profile-mode.rb | 128 parser = SimpleC::Parser.new( tokens ) 129 parser.program 131 profile_data = parser.profile
|
/external/chromium/chrome/browser/autofill/ |
phone_number_unittest.cc | 10 // Tests the phone number parser. 11 TEST(PhoneNumberTest, Parser) {
|
/external/chromium_org/chrome/test/chromedriver/ |
capabilities.cc | 26 typedef base::Callback<Status(const base::Value&, Capabilities*)> Parser; 250 std::map<std::string, Parser> parser_map; 425 std::map<std::string, Parser> parser_map; 429 for (std::map<std::string, Parser>::iterator it = parser_map.begin();
|
/external/chromium_org/net/dns/ |
dns_response_unittest.cc | 50 DnsRecordParser parser(data, sizeof(data), 0); 51 ASSERT_TRUE(parser.IsValid()); 53 EXPECT_EQ(0x11u, parser.ReadName(data + 0x00, &out)); 57 EXPECT_EQ(0x1u, parser.ReadName(data + 0x10, &out)); 60 EXPECT_EQ(0x6u, parser.ReadName(data + 0x11, &out)); 63 EXPECT_EQ(0x2u, parser.ReadName(data + 0x17, &out)); 67 EXPECT_EQ(0x11u, parser.ReadName(data + 0x00, NULL)); 68 EXPECT_EQ(0x1u, parser.ReadName(data + 0x10, NULL)); 69 EXPECT_EQ(0x6u, parser.ReadName(data + 0x11, NULL)); 70 EXPECT_EQ(0x2u, parser.ReadName(data + 0x17, NULL)) 240 DnsRecordParser parser = resp.Parser(); local 267 DnsRecordParser parser = resp.Parser(); local 311 DnsRecordParser parser = resp.Parser(); local 369 DnsRecordParser parser = resp.Parser(); local [all...] |
dns_response.cc | 186 // Construct the parser. 207 parser_ = DnsRecordParser(); // Make parser invalid again. 262 DnsRecordParser DnsResponse::Parser() const { 264 // Return a copy of the parser. 294 DnsRecordParser parser = Parser(); local 298 if (!parser.ReadRecord(&record)) 310 parser.ReadName(record.rdata.begin(), &expected_name))
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
UnknownFieldSet.java | 955 * Parser to implement MessageLite interface. 957 public static final class Parser extends AbstractParser<UnknownFieldSet> { 974 private static final Parser PARSER = new Parser(); 975 public final Parser getParserForType() { 976 return PARSER;
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
codec.py | 36 class Parser:
|
/external/chromium_org/tools/gn/ |
loader_unittest.cc | 17 #include "tools/gn/parser.h" 83 canned->root = Parser::Parse(canned->tokens, &err).Pass();
|
setup.cc | 23 #include "tools/gn/parser.h" 258 args_root_ = Parser::Parse(args_tokens_, &err); 348 dotfile_root_ = Parser::Parse(dotfile_tokens_, &err);
|
/external/lzma/CS/7zip/Common/ |
CommandLineParser.cs | 58 public class Parser
63 public Parser(int numSwitches)
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 26 package gov.nist.javax.sip.parser; 33 * Generic header parser class. The parsers for various headers extend this 34 * class. To create a parser for a new header, extend this class and change 43 public class HeaderParser extends Parser {
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/ |
SAX1ParserAdapter.java | 29 implements org.xml.sax.Parser
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
Content.java | 114 private static class Parser { 140 public Parser(String[] args) { 541 Parser parser = new Parser(args); local 542 Command command = parser.parseCommand();
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
SearchParser.java | 25 public class SearchParser extends Parser { 84 EmailSyncParser parser = new EmailSyncParser(this, mContext, mContentResolver, local 95 parseResult(parser, ops); 115 private boolean parseResult(EmailSyncParser parser, 117 // Get an email sync parser for our incoming message data 131 parser.pushTag(tag); 132 parser.addData(msg, tag);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
parse.py | 4 """Parser engine for the grammar tables generated by pgen. 8 See Parser/parser.c in the Python distribution for additional info on 17 """Exception to signal the parser is stuck.""" 27 class Parser(object): 28 """Parser engine. 32 p = Parser(grammar, [converter]) # create instance 39 A Parser instance may be reused by calling setup() repeatedly. 41 A Parser instance contains state pertaining to the current token 51 the ParseError exception. There is no error recovery; the parser [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
parse.py | 4 """Parser engine for the grammar tables generated by pgen. 8 See Parser/parser.c in the Python distribution for additional info on 17 """Exception to signal the parser is stuck.""" 27 class Parser(object): 28 """Parser engine. 32 p = Parser(grammar, [converter]) # create instance 39 A Parser instance may be reused by calling setup() repeatedly. 41 A Parser instance contains state pertaining to the current token 51 the ParseError exception. There is no error recovery; the parser [all...] |
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XPathGrammar.y | 55 %parse-param { WebCore::XPath::Parser* parser } 73 static int xpathyylex(YYSTYPE* yylval) { return Parser::current()->lex(yylval); } 121 parser->m_topExpr = $1; 141 parser->registerParseNode($$); 153 parser->unregisterParseNode($1); 162 parser->unregisterParseNode($1); 163 parser->registerParseNode($$); 169 parser->unregisterParseNode($3); 176 parser->unregisterParseNode($2) [all...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
ParserAdapterTest.java | 31 import org.xml.sax.Parser; 63 private Parser parser = new MockParser(logger); field in class:ParserAdapterTest 65 private ParserAdapter adapter = new ParserAdapter(parser); 87 System.setProperty("org.xml.sax.parser", 100 ParserAdapter adapter = new ParserAdapter(parser);
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasSync.java | 35 import com.android.exchange.adapter.Parser; 53 * TODO: Handle multiple folders in one request. Not sure if parser can handle it yet. 219 final EmailSyncParser parser = new EmailSyncParser(mContext, mContext.getContentResolver(), local 222 parser.parse(); 223 mMessageUpdateStatus = parser.getMessageStatuses(); 224 } catch (final Parser.EmptyStreamException e) {
|