/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/examples/OCaml-Kaleidoscope/Chapter7/ |
parser.ml | 2 * Parser 19 let rec parse_primary = parser 30 let rec parse_args accumulator = parser 32 begin parser 38 let rec parse_ident id = parser 62 begin parser 69 begin parser 74 begin parser 102 and parse_unary = parser 146 and parse_var_init = parser [all...] |
/external/llvm/include/llvm/MC/MCParser/ |
MCAsmParserExtension.h | 1 //===-- llvm/MC/MCAsmParserExtension.h - Asm Parser Hooks -------*- C++ -*-===// 21 /// which is implemented by target and object file assembly parser 27 MCAsmParser *Parser; 47 /// Parser. The extension should use the AsmParser interfaces to register its 49 virtual void Initialize(MCAsmParser &Parser); 56 MCAsmParser &getParser() { return *Parser; }
|
/external/protobuf/src/google/protobuf/compiler/ |
parser.h | 56 class Parser; 62 // Parser is a lower-level class which simply converts a single .proto file 66 class LIBPROTOBUF_EXPORT Parser { 68 Parser(); 69 ~Parser(); 103 // Call SetStopAfterSyntaxIdentifier(true) to tell the parser to stop 125 // The Parser often calls SkipStatement() after encountering a syntax 299 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Parser);
|
parser.cc | 42 #include <google/protobuf/compiler/parser.h> 96 Parser::Parser() 105 Parser::~Parser() { 110 inline bool Parser::LookingAt(const char* text) { 114 inline bool Parser::LookingAtType(io::Tokenizer::TokenType token_type) { 118 inline bool Parser::AtEnd() { 122 bool Parser::TryConsume(const char* text) { 131 bool Parser::Consume(const char* text, const char* error) [all...] |
/external/protobuf/src/google/protobuf/ |
text_format.h | 125 // by the parser. 211 class LIBPROTOBUF_EXPORT Parser { 213 Parser(); 214 ~Parser();
|
text_format.cc | 104 // returning false. Borrowed from parser.cc (Thanks Kenton!). 107 class TextFormat::Parser::ParserImpl { 616 explicit ParserErrorCollector(TextFormat::Parser::ParserImpl* parser) : 617 parser_(parser) { } 631 TextFormat::Parser::ParserImpl* parser_; 768 TextFormat::Parser::Parser() 772 TextFormat::Parser::~Parser() {} [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
Parser.java | 32 /** A parser for TokenStreams. "parser grammars" result in a subclass 35 public class Parser extends BaseRecognizer { 38 public Parser(TokenStream input) { 43 public Parser(TokenStream input, RecognizerSharedState state) { 44 super(state); // share the state object with another parser 79 /** Set the token stream and reset the parser */
|
/external/webkit/Source/JavaScriptCore/parser/ |
Parser.h | 48 class Parser { 49 WTF_MAKE_NONCOPYABLE(Parser); WTF_MAKE_FAST_ALLOCATED; 51 Parser() { } 80 PassRefPtr<ParsedNode> Parser::parse(JSGlobalObject* lexicalGlobalObject, Debugger* debugger, ExecState* debuggerExecState, const SourceCode& source, FunctionParameters* parameters, JSParserStrictness strictness, JSObject** exception)
|
/external/webkit/Source/WebCore/xml/ |
XPathParser.h | 61 class Parser { 62 WTF_MAKE_NONCOPYABLE(Parser); 64 Parser(); 65 ~Parser(); 72 static Parser* current() { return currentParser; } 114 static Parser* currentParser;
|
XPathParser.cpp | 53 Parser* Parser::currentParser = 0; 131 bool Parser::isBinaryOperatorContext() const 145 void Parser::skipWS() 151 Token Parser::makeTokenAndAdvance(int code, int advance) 157 Token Parser::makeTokenAndAdvance(int code, NumericOp::Opcode val, int advance) 163 Token Parser::makeTokenAndAdvance(int code, EqTestOp::Opcode val, int advance) 170 char Parser::peekAheadHelper() 180 char Parser::peekCurHelper() 190 Token Parser::lexString( [all...] |
/frameworks/base/include/androidfw/ |
KeyLayoutMap.h | 90 class Parser { 95 Parser(KeyLayoutMap* map, Tokenizer* tokenizer); 96 ~Parser();
|
KeyCharacterMap.h | 172 class Parser { 199 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format); 200 ~Parser();
|
/frameworks/base/libs/androidfw/ |
KeyLayoutMap.cpp | 28 // Enables debug output for the parser. 31 // Enables debug output for parser performance. 66 Parser parser(map.get(), tokenizer); 67 status = parser.parse(); 153 // --- KeyLayoutMap::Parser --- 155 KeyLayoutMap::Parser::Parser(KeyLayoutMap* map, Tokenizer* tokenizer) : 159 KeyLayoutMap::Parser::~Parser() { [all...] |
KeyCharacterMap.cpp | 34 // Enables debug output for the parser. 37 // Enables debug output for parser performance. 148 Parser parser(map.get(), tokenizer, format); 149 status = parser.parse(); 666 // --- KeyCharacterMap::Parser --- 668 KeyCharacterMap::Parser::Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format) : 672 KeyCharacterMap::Parser::~Parser() { [all...] |
/external/chromium/chrome/browser/autofill/ |
phone_field.h | 113 static struct Parser {
|
/packages/apps/Email/src/org/apache/james/mime4j/field/ |
ContentTypeField.java | 32 import org.apache.james.mime4j.field.contenttype.parser.ContentTypeParser;
33 import org.apache.james.mime4j.field.contenttype.parser.ParseException;
34 import org.apache.james.mime4j.field.contenttype.parser.TokenMgrError;
208 public static class Parser implements FieldParser {
209 private static Log log = LogFactory.getLog(Parser.class);
216 ContentTypeParser parser = new ContentTypeParser(new StringReader(body));
local 218 parser.parseAll();
234 final String type = parser.getType();
235 final String subType = parser.getSubType();
238 mimeType = (type + "/" + parser.getSubType()).toLowerCase(); [all...] |
/external/regex-re2/util/ |
pcre.h | 583 typedef bool (*Parser)(const char* str, int n, void* dest); 588 Arg(type* p, Parser parser) : arg_(p), parser_(parser) { } \ 609 template <class T> Arg(T*, Parser parser); 620 Parser parser_; 659 // This part of the parser, appropriate only for ints, deals with bases
|
/external/webkit/Source/JavaScriptCore/yarr/ |
YarrParser.h | 45 // The Parser class should not be used directly - only via the Yarr::parse() method. 47 class Parser { 230 Parser(Delegate& delegate, const UString& pattern, unsigned backReferenceLimit) 245 * Unlike the other parser methods, this function does not report tokens 867 return Parser<Delegate>(delegate, pattern, backReferenceLimit).parse();
|
/external/clang/lib/Parse/ |
Parser.cpp | 1 //===--- Parser.cpp - C Language Family Parser ----------------------------===// 10 // This file implements the Parser interfaces. 14 #include "clang/Parse/Parser.h" 28 /// to the parser action. 42 IdentifierInfo *Parser::getSEHExceptKeyword() { 50 Parser::Parser(Preprocessor &pp, Sema &actions, bool SkipFunctionBodies) 103 /// If a crash happens while the parser is active, print out a line indicating 108 OS << "<eof> parser at end of file\n" [all...] |
/external/valgrind/tsan/ |
suppressions.cc | 30 // This file contains the parser for valgrind-compatible suppressions. 62 class Parser { 64 explicit Parser(const string &str) 101 void Parser::SetError(string desc) { 106 bool Parser::GetError() { 110 string Parser::GetErrorString() { 114 int Parser::GetLineNo() { 118 string Parser::NextLine() { 131 string Parser::NextLineSkipComments() { 161 void Parser::PutBackSkipComments(string line) [all...] |
/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...] |
recognizers.py | 55 parser is protected. 131 lexer, parser, and tree grammars. This is all the parsing 156 ## State of a lexer, parser, or tree parser are collected into a state 179 reset the parser's state; subclasses must rewinds the input stream 263 This method sets errorRecovery to indicate the parser is recovering 265 To get out of recovery mode, the parser must successfully match 403 Get number of recognition errors (lexer, parser, tree parser). Each 404 recognizer tracks its own number. So parser and lexer each hav [all...] |
/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/clang/lib/AST/ |
CommentParser.cpp | 1 //===--- CommentParser.cpp - Doxygen comment parser -----------------------===// 23 Parser &P; 142 TextTokenRetokenizer(llvm::BumpPtrAllocator &Allocator, Parser &P): 253 Parser::Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator, 261 void Parser::parseParamCommandArgs(ParamCommandComment *PC, 279 void Parser::parseTParamCommandArgs(TParamCommandComment *TPC, 289 void Parser::parseBlockCommandArgs(BlockCommandComment *BC, 307 BlockCommandComment *Parser::parseBlockCommand() { 382 InlineCommandComment *Parser::parseInlineCommand() [all...] |