Parser 11 base/test/expectations/parser.cc Parser::Parser(Delegate* delegate, const std::string& input) Parser 20 base/test/expectations/parser.cc Parser::~Parser() { Parser 23 base/test/expectations/parser.cc void Parser::Parse() { Parser 29 base/test/expectations/parser.cc StateFuncPtr state = &Parser::Start; Parser 35 base/test/expectations/parser.cc inline bool Parser::HasNext() { Parser 39 base/test/expectations/parser.cc Parser::StateFunc Parser::Start() { Parser 43 base/test/expectations/parser.cc return SkipWhitespaceAndNewLines(&Parser::Start); Parser 47 base/test/expectations/parser.cc return &Parser::ParseComment; Parser 57 base/test/expectations/parser.cc return &Parser::ParseBugURL; Parser 60 base/test/expectations/parser.cc Parser::StateFunc Parser::ParseComment() { Parser 68 base/test/expectations/parser.cc return &Parser::Start; Parser 71 base/test/expectations/parser.cc Parser::StateFunc Parser::ParseBugURL() { Parser 73 base/test/expectations/parser.cc &Parser::BeginModifiers)); Parser 76 base/test/expectations/parser.cc Parser::StateFunc Parser::BeginModifiers() { Parser 81 base/test/expectations/parser.cc return SkipWhitespace(&Parser::InModifiers); Parser 84 base/test/expectations/parser.cc Parser::StateFunc Parser::InModifiers() { Parser 86 base/test/expectations/parser.cc return &Parser::EndModifiers; Parser 89 base/test/expectations/parser.cc &Parser::SaveModifier)); Parser 92 base/test/expectations/parser.cc Parser::StateFunc Parser::SaveModifier() { Parser 110 base/test/expectations/parser.cc return SkipWhitespace(&Parser::InModifiers); Parser 113 base/test/expectations/parser.cc Parser::StateFunc Parser::EndModifiers() { Parser 118 base/test/expectations/parser.cc return SkipWhitespace(&Parser::ParseTestName); Parser 121 base/test/expectations/parser.cc Parser::StateFunc Parser::ParseTestName() { Parser 122 base/test/expectations/parser.cc return ExtractString(&Parser::SaveTestName); Parser 125 base/test/expectations/parser.cc Parser::StateFunc Parser::SaveTestName() { Parser 130 base/test/expectations/parser.cc return SkipWhitespace(&Parser::ParseExpectation); Parser 133 base/test/expectations/parser.cc Parser::StateFunc Parser::ParseExpectation() { Parser 138 base/test/expectations/parser.cc return SkipWhitespace(&Parser::ParseExpectationType); Parser 141 base/test/expectations/parser.cc Parser::StateFunc Parser::ParseExpectationType() { Parser 142 base/test/expectations/parser.cc return ExtractString(&Parser::SaveExpectationType); Parser 145 base/test/expectations/parser.cc Parser::StateFunc Parser::SaveExpectationType() { Parser 149 base/test/expectations/parser.cc return SkipWhitespace(&Parser::End); Parser 152 base/test/expectations/parser.cc Parser::StateFunc Parser::End() { Parser 157 base/test/expectations/parser.cc return SkipWhitespaceAndNewLines(&Parser::Start); Parser 162 base/test/expectations/parser.cc Parser::StateFunc Parser::ExtractString(StateFunc success) { Parser 174 base/test/expectations/parser.cc Parser::StateFunc Parser::SkipWhitespace(Parser::StateFunc next) { Parser 181 base/test/expectations/parser.cc Parser::StateFunc Parser::SkipWhitespaceAndNewLines(Parser::StateFunc next) { Parser 191 base/test/expectations/parser.cc Parser::StateFunc Parser::SyntaxError(const std::string& message) { Parser 196 base/test/expectations/parser.cc void Parser::DataError(const std::string& error) { Parser 28 base/test/expectations/parser.h class Parser { Parser 49 base/test/expectations/parser.h Parser(Delegate* delegate, const std::string& input); Parser 50 base/test/expectations/parser.h ~Parser(); Parser 63 base/test/expectations/parser.h typedef StateFunc(Parser::*StateFuncPtr)(); Parser 13 base/test/expectations/parser_unittest.cc using test_expectations::Parser; Parser 16 base/test/expectations/parser_unittest.cc public Parser::Delegate { Parser 38 base/test/expectations/parser_unittest.cc Parser(this, Parser 56 base/test/expectations/parser_unittest.cc Parser(this, "BUG [ Win-XP Mac ] OhMy.MeOhMy = Failure").Parse(); Parser 77 base/test/expectations/parser_unittest.cc Parser(this, Parser 100 base/test/expectations/parser_unittest.cc Parser(this, Parser 126 base/test/expectations/parser_unittest.cc Parser(this, Parser 157 base/test/expectations/parser_unittest.cc Parser(this, " BUG [Linux] Weird = Skip ").Parse(); Parser 179 base/test/expectations/parser_unittest.cc Parser(this, kErrors[i]).Parse(); Parser 194 base/test/expectations/parser_unittest.cc Parser(this, kOneError[i]).Parse(); Parser 205 base/test/expectations/parser_unittest.cc Parser(this, kTwoErrors[i]).Parse(); Parser 464 chrome/browser/profile_resetter/jtl_interpreter.cc explicit Parser(const std::string& program) Parser 690 chrome/browser/profile_resetter/jtl_interpreter.cc DISALLOW_COPY_AND_ASSIGN(Parser); Parser 711 chrome/browser/profile_resetter/jtl_interpreter.cc Parser parser(program_); Parser 250 chrome/test/chromedriver/capabilities.cc std::map<std::string, Parser> parser_map; Parser 426 chrome/test/chromedriver/capabilities.cc std::map<std::string, Parser> parser_map; Parser 430 chrome/test/chromedriver/capabilities.cc for (std::map<std::string, Parser>::iterator it = parser_map.begin(); Parser 43 components/autofill/core/browser/phone_field.cc const PhoneField::Parser PhoneField::kPhoneFieldGrammars[] = { Parser 77 components/autofill/core/browser/phone_field.h static const Parser kPhoneFieldGrammars[]; Parser 294 net/dns/dns_response.cc DnsRecordParser parser = Parser(); Parser 147 net/dns/dns_response.h DnsRecordParser Parser() const; Parser 240 net/dns/dns_response_unittest.cc DnsRecordParser parser = resp.Parser(); Parser 267 net/dns/dns_response_unittest.cc DnsRecordParser parser = resp.Parser(); Parser 311 net/dns/dns_response_unittest.cc DnsRecordParser parser = resp.Parser(); Parser 369 net/dns/dns_response_unittest.cc DnsRecordParser parser = resp.Parser(); Parser 284 net/dns/dns_transaction_unittest.cc DnsRecordParser parser = response->Parser(); Parser 213 net/dns/mdns_client_impl.cc DnsRecordParser parser = response->Parser(); Parser 50 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java implements Parser<MessageType> { Parser 249 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java final Parser<T> parser, Parser 300 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java final Parser<T> parser, Parser 245 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public Parser<DynamicMessage> getParserForType() { Parser 74 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public Parser<? extends Message> getParserForType() { Parser 58 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java public Parser<? extends MessageLite> getParserForType() { Parser 54 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Parser<? extends Message> getParserForType(); Parser 86 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Parser<? extends MessageLite> getParserForType(); Parser 974 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java private static final Parser PARSER = new Parser(); Parser 975 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public final Parser getParserForType() { Parser 176 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public Parser<? extends Message> getParserForType() { Parser 74 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java Parser<? extends MessageLite> parser = message.getParserForType(); Parser 92 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java Parser<? extends MessageLite> parser = message.getParserForType(); Parser 124 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java Parser<TestRequired> parser = TestRequired.PARSER; Parser 1327 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc TextFormat::Parser parser; Parser 136 third_party/protobuf/src/google/protobuf/compiler/importer.cc Parser parser; Parser 96 third_party/protobuf/src/google/protobuf/compiler/parser.cc Parser::Parser() Parser 105 third_party/protobuf/src/google/protobuf/compiler/parser.cc Parser::~Parser() { Parser 110 third_party/protobuf/src/google/protobuf/compiler/parser.cc inline bool Parser::LookingAt(const char* text) { Parser 114 third_party/protobuf/src/google/protobuf/compiler/parser.cc inline bool Parser::LookingAtType(io::Tokenizer::TokenType token_type) { Parser 118 third_party/protobuf/src/google/protobuf/compiler/parser.cc inline bool Parser::AtEnd() { Parser 122 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::TryConsume(const char* text) { Parser 131 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::Consume(const char* text, const char* error) { Parser 140 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::Consume(const char* text) { Parser 149 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ConsumeIdentifier(string* output, const char* error) { Parser 160 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ConsumeInteger(int* output, const char* error) { Parser 177 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ConsumeSignedInteger(int* output, const char* error) { Parser 191 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ConsumeInteger64(uint64 max_value, uint64* output, Parser 208 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ConsumeNumber(double* output, const char* error) { Parser 238 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ConsumeString(string* output, const char* error) { Parser 254 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::TryConsumeEndOfDeclaration(const char* text, Parser 273 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ConsumeEndOfDeclaration(const char* text, Parser 285 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::AddError(int line, int column, const string& error) { Parser 292 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::AddError(const string& error) { Parser 298 third_party/protobuf/src/google/protobuf/compiler/parser.cc Parser::LocationRecorder::LocationRecorder(Parser* parser) Parser 305 third_party/protobuf/src/google/protobuf/compiler/parser.cc Parser::LocationRecorder::LocationRecorder(const LocationRecorder& parent) { Parser 309 third_party/protobuf/src/google/protobuf/compiler/parser.cc Parser::LocationRecorder::LocationRecorder(const LocationRecorder& parent, Parser 315 third_party/protobuf/src/google/protobuf/compiler/parser.cc Parser::LocationRecorder::LocationRecorder(const LocationRecorder& parent, Parser 322 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::LocationRecorder::Init(const LocationRecorder& parent) { Parser 331 third_party/protobuf/src/google/protobuf/compiler/parser.cc Parser::LocationRecorder::~LocationRecorder() { Parser 337 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::LocationRecorder::AddPath(int path_component) { Parser 341 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::LocationRecorder::StartAt(const io::Tokenizer::Token& token) { Parser 346 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::LocationRecorder::EndAt(const io::Tokenizer::Token& token) { Parser 353 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::LocationRecorder::RecordLegacyLocation(const Message* descriptor, Parser 361 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::LocationRecorder::AttachComments( Parser 376 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::SkipStatement() { Parser 394 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::SkipRestOfBlock() { Parser 411 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::Parse(io::Tokenizer* input, FileDescriptorProto* file) { Parser 464 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseSyntaxIdentifier() { Parser 484 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseTopLevelStatement(FileDescriptorProto* file, Parser 529 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseMessageDefinition(DescriptorProto* message, Parser 577 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseMessageBlock(DescriptorProto* message, Parser 600 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseMessageStatement(DescriptorProto* message, Parser 643 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseMessageField(FieldDescriptorProto* field, Parser 751 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseFieldOptions(FieldDescriptorProto* field, Parser 775 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseDefaultAssignment(FieldDescriptorProto* field, Parser 895 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseOptionNamePart(UninterpretedOption* uninterpreted_option, Parser 931 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseUninterpretedBlock(string* value) { Parser 958 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseOption(Message* options, Parser 1094 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseExtensions(DescriptorProto* message, Parser 1149 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseExtend(RepeatedPtrField<FieldDescriptorProto>* extensions, Parser 1208 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseEnumDefinition(EnumDescriptorProto* enum_type, Parser 1224 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseEnumBlock(EnumDescriptorProto* enum_type, Parser 1244 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseEnumStatement(EnumDescriptorProto* enum_type, Parser 1261 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseEnumConstant(EnumValueDescriptorProto* enum_value, Parser 1294 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseEnumConstantOptions( Parser 1315 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseServiceDefinition(ServiceDescriptorProto* service, Parser 1331 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseServiceBlock(ServiceDescriptorProto* service, Parser 1351 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseServiceStatement(ServiceDescriptorProto* service, Parser 1367 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseServiceMethod(MethodDescriptorProto* method, Parser 1415 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseOptions(const LocationRecorder& parent_location, Parser 1444 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseLabel(FieldDescriptorProto::Label* label) { Parser 1463 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseType(FieldDescriptorProto::Type* type, Parser 1475 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseUserDefinedType(string* type_name) { Parser 1512 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParsePackage(FileDescriptorProto* file, Parser 1544 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseImport(RepeatedPtrField<string>* dependency, Parser 56 third_party/protobuf/src/google/protobuf/compiler/parser.h class Parser; Parser 66 third_party/protobuf/src/google/protobuf/compiler/parser.h class LIBPROTOBUF_EXPORT Parser { Parser 68 third_party/protobuf/src/google/protobuf/compiler/parser.h Parser(); Parser 69 third_party/protobuf/src/google/protobuf/compiler/parser.h ~Parser(); Parser 212 third_party/protobuf/src/google/protobuf/compiler/parser.h LocationRecorder(Parser* parser); Parser 257 third_party/protobuf/src/google/protobuf/compiler/parser.h Parser* parser_; Parser 433 third_party/protobuf/src/google/protobuf/compiler/parser.h GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Parser); Parser 108 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc parser_.reset(new Parser()); Parser 179 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc scoped_ptr<Parser> parser_; Parser 4845 third_party/protobuf/src/google/protobuf/descriptor.cc TextFormat::Parser parser; Parser 177 third_party/protobuf/src/google/protobuf/text_format.cc class TextFormat::Parser::ParserImpl { Parser 879 third_party/protobuf/src/google/protobuf/text_format.cc explicit ParserErrorCollector(TextFormat::Parser::ParserImpl* parser) : Parser 894 third_party/protobuf/src/google/protobuf/text_format.cc TextFormat::Parser::ParserImpl* parser_; Parser 1037 third_party/protobuf/src/google/protobuf/text_format.cc TextFormat::Parser::Parser() Parser 1045 third_party/protobuf/src/google/protobuf/text_format.cc TextFormat::Parser::~Parser() {} Parser 1047 third_party/protobuf/src/google/protobuf/text_format.cc bool TextFormat::Parser::Parse(io::ZeroCopyInputStream* input, Parser 1057 third_party/protobuf/src/google/protobuf/text_format.cc bool TextFormat::Parser::ParseFromString(const string& input, Parser 1063 third_party/protobuf/src/google/protobuf/text_format.cc bool TextFormat::Parser::Merge(io::ZeroCopyInputStream* input, Parser 1072 third_party/protobuf/src/google/protobuf/text_format.cc bool TextFormat::Parser::MergeFromString(const string& input, Parser 1078 third_party/protobuf/src/google/protobuf/text_format.cc bool TextFormat::Parser::MergeUsingImpl(io::ZeroCopyInputStream* input, Parser 1092 third_party/protobuf/src/google/protobuf/text_format.cc bool TextFormat::Parser::ParseFieldValueFromString( Parser 1106 third_party/protobuf/src/google/protobuf/text_format.cc return Parser().Parse(input, output); Parser 1111 third_party/protobuf/src/google/protobuf/text_format.cc return Parser().Merge(input, output); Parser 1116 third_party/protobuf/src/google/protobuf/text_format.cc return Parser().ParseFromString(input, output); Parser 1121 third_party/protobuf/src/google/protobuf/text_format.cc return Parser().MergeFromString(input, output); Parser 1410 third_party/protobuf/src/google/protobuf/text_format.cc return Parser().ParseFieldValueFromString(input, field, message); Parser 278 third_party/protobuf/src/google/protobuf/text_format.h class LIBPROTOBUF_EXPORT Parser { Parser 280 third_party/protobuf/src/google/protobuf/text_format.h Parser(); Parser 281 third_party/protobuf/src/google/protobuf/text_format.h ~Parser(); Parser 640 third_party/protobuf/src/google/protobuf/text_format_unittest.cc TextFormat::Parser parser; Parser 738 third_party/protobuf/src/google/protobuf/text_format_unittest.cc TextFormat::Parser parser; Parser 748 third_party/protobuf/src/google/protobuf/text_format_unittest.cc TextFormat::Parser parser; Parser 1142 third_party/protobuf/src/google/protobuf/text_format_unittest.cc TextFormat::Parser parser; Parser 1149 third_party/protobuf/src/google/protobuf/text_format_unittest.cc TextFormat::Parser parser; Parser 742 third_party/re2/re2/re2.h typedef bool (*Parser)(const char* str, int n, void* dest); Parser 747 third_party/re2/re2/re2.h Arg(type* p, Parser parser) : arg_(p), parser_(parser) { } \ Parser 769 third_party/re2/re2/re2.h template <class T> Arg(T*, Parser parser); Parser 780 third_party/re2/re2/re2.h Parser parser_; Parser 589 third_party/re2/util/pcre.h typedef bool (*Parser)(const char* str, int n, void* dest); Parser 594 third_party/re2/util/pcre.h Arg(type* p, Parser parser) : arg_(p), parser_(parser) { } \ Parser 615 third_party/re2/util/pcre.h template <class T> Arg(T*, Parser parser); Parser 626 third_party/re2/util/pcre.h Parser parser_; Parser 64 tools/gn/input_conversion.cc scoped_ptr<ParseNode> expression = Parser::ParseExpression(tokens, err); Parser 239 tools/gn/input_file_manager.cc scoped_ptr<ParseNode> root = Parser::Parse(tokens, err); Parser 83 tools/gn/loader_unittest.cc canned->root = Parser::Parse(canned->tokens, &err).Pass(); Parser 46 tools/gn/parser.cc ParserHelper Parser::expressions_[] = { Parser 48 tools/gn/parser.cc {&Parser::Literal, NULL, -1}, // INTEGER Parser 49 tools/gn/parser.cc {&Parser::Literal, NULL, -1}, // STRING Parser 50 tools/gn/parser.cc {&Parser::Literal, NULL, -1}, // TRUE_TOKEN Parser 51 tools/gn/parser.cc {&Parser::Literal, NULL, -1}, // FALSE_TOKEN Parser 52 tools/gn/parser.cc {NULL, &Parser::Assignment, PRECEDENCE_ASSIGNMENT}, // EQUAL Parser 53 tools/gn/parser.cc {NULL, &Parser::BinaryOperator, PRECEDENCE_SUM}, // PLUS Parser 54 tools/gn/parser.cc {NULL, &Parser::BinaryOperator, PRECEDENCE_SUM}, // MINUS Parser 55 tools/gn/parser.cc {NULL, &Parser::Assignment, PRECEDENCE_ASSIGNMENT}, // PLUS_EQUALS Parser 56 tools/gn/parser.cc {NULL, &Parser::Assignment, PRECEDENCE_ASSIGNMENT}, // MINUS_EQUALS Parser 57 tools/gn/parser.cc {NULL, &Parser::BinaryOperator, PRECEDENCE_EQUALITY}, // EQUAL_EQUAL Parser 58 tools/gn/parser.cc {NULL, &Parser::BinaryOperator, PRECEDENCE_EQUALITY}, // NOT_EQUAL Parser 59 tools/gn/parser.cc {NULL, &Parser::BinaryOperator, PRECEDENCE_RELATION}, // LESS_EQUAL Parser 60 tools/gn/parser.cc {NULL, &Parser::BinaryOperator, PRECEDENCE_RELATION}, // GREATER_EQUAL Parser 61 tools/gn/parser.cc {NULL, &Parser::BinaryOperator, PRECEDENCE_RELATION}, // LESS_THAN Parser 62 tools/gn/parser.cc {NULL, &Parser::BinaryOperator, PRECEDENCE_RELATION}, // GREATER_THAN Parser 63 tools/gn/parser.cc {NULL, &Parser::BinaryOperator, PRECEDENCE_AND}, // BOOLEAN_AND Parser 64 tools/gn/parser.cc {NULL, &Parser::BinaryOperator, PRECEDENCE_OR}, // BOOLEAN_OR Parser 65 tools/gn/parser.cc {&Parser::Not, NULL, -1}, // BANG Parser 66 tools/gn/parser.cc {NULL, &Parser::DotOperator, PRECEDENCE_DOT}, // DOT Parser 67 tools/gn/parser.cc {&Parser::Group, NULL, -1}, // LEFT_PAREN Parser 69 tools/gn/parser.cc {&Parser::List, &Parser::Subscript, PRECEDENCE_CALL}, // LEFT_BRACKET Parser 75 tools/gn/parser.cc {&Parser::Name, &Parser::IdentifierOrCall, PRECEDENCE_CALL}, // IDENTIFIER Parser 80 tools/gn/parser.cc Parser::Parser(const std::vector<Token>& tokens, Err* err) Parser 84 tools/gn/parser.cc Parser::~Parser() { Parser 88 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Parse(const std::vector<Token>& tokens, Parser 90 tools/gn/parser.cc Parser p(tokens, err); Parser 95 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::ParseExpression(const std::vector<Token>& tokens, Parser 97 tools/gn/parser.cc Parser p(tokens, err); Parser 101 tools/gn/parser.cc bool Parser::IsAssignment(const ParseNode* node) const { Parser 108 tools/gn/parser.cc bool Parser::IsStatementBreak(Token::Type token_type) const { Parser 121 tools/gn/parser.cc bool Parser::LookAhead(Token::Type type) { Parser 127 tools/gn/parser.cc bool Parser::Match(Token::Type type) { Parser 134 tools/gn/parser.cc Token Parser::Consume(Token::Type type, const char* error_message) { Parser 139 tools/gn/parser.cc Token Parser::Consume(Token::Type* types, Parser 165 tools/gn/parser.cc Token Parser::Consume() { Parser 169 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::ParseExpression() { Parser 173 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::ParseExpression(int precedence) { Parser 209 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Literal(Token token) { Parser 213 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Name(Token token) { Parser 217 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Group(Token token) { Parser 225 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Not(Token token) { Parser 235 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::List(Token node) { Parser 242 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::BinaryOperator(scoped_ptr<ParseNode> left, Parser 259 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::IdentifierOrCall(scoped_ptr<ParseNode> left, Parser 297 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Assignment(scoped_ptr<ParseNode> left, Parser 311 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Subscript(scoped_ptr<ParseNode> left, Parser 330 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::DotOperator(scoped_ptr<ParseNode> left, Parser 355 tools/gn/parser.cc scoped_ptr<ListNode> Parser::ParseList(Token::Type stop_before, Parser 383 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::ParseFile() { Parser 400 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::ParseStatement() { Parser 421 tools/gn/parser.cc scoped_ptr<BlockNode> Parser::ParseBlock() { Parser 443 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::ParseCondition() { Parser 17 tools/gn/parser.h class Parser; Parser 18 tools/gn/parser.h typedef scoped_ptr<ParseNode> (Parser::*PrefixFunc)(Token token); Parser 19 tools/gn/parser.h typedef scoped_ptr<ParseNode> (Parser::*InfixFunc)(scoped_ptr<ParseNode> left, Parser 31 tools/gn/parser.h class Parser { Parser 45 tools/gn/parser.h Parser(const std::vector<Token>& tokens, Err* err); Parser 46 tools/gn/parser.h ~Parser(); Parser 102 tools/gn/parser.h FRIEND_TEST_ALL_PREFIXES(Parser, BinaryOp); Parser 103 tools/gn/parser.h FRIEND_TEST_ALL_PREFIXES(Parser, Block); Parser 104 tools/gn/parser.h FRIEND_TEST_ALL_PREFIXES(Parser, Condition); Parser 105 tools/gn/parser.h FRIEND_TEST_ALL_PREFIXES(Parser, Expression); Parser 106 tools/gn/parser.h FRIEND_TEST_ALL_PREFIXES(Parser, FunctionCall); Parser 107 tools/gn/parser.h FRIEND_TEST_ALL_PREFIXES(Parser, List); Parser 108 tools/gn/parser.h FRIEND_TEST_ALL_PREFIXES(Parser, ParenExpression); Parser 109 tools/gn/parser.h FRIEND_TEST_ALL_PREFIXES(Parser, UnaryOp); Parser 111 tools/gn/parser.h DISALLOW_COPY_AND_ASSIGN(Parser); Parser 29 tools/gn/parser_unittest.cc scoped_ptr<ParseNode> result = Parser::Parse(tokens, &err); Parser 47 tools/gn/parser_unittest.cc scoped_ptr<ParseNode> result = Parser::ParseExpression(tokens, &err); Parser 65 tools/gn/parser_unittest.cc scoped_ptr<ParseNode> result = Parser::Parse(tokens, &err); Parser 83 tools/gn/parser_unittest.cc scoped_ptr<ParseNode> result = Parser::ParseExpression(tokens, &err); Parser 94 tools/gn/parser_unittest.cc TEST(Parser, Literal) { Parser 99 tools/gn/parser_unittest.cc TEST(Parser, BinaryOp) { Parser 118 tools/gn/parser_unittest.cc TEST(Parser, FunctionCall) { Parser 130 tools/gn/parser_unittest.cc TEST(Parser, ParenExpression) { Parser 148 tools/gn/parser_unittest.cc TEST(Parser, OrderOfOperationsLeftAssociative) { Parser 159 tools/gn/parser_unittest.cc TEST(Parser, OrderOfOperationsEqualityBoolean) { Parser 179 tools/gn/parser_unittest.cc TEST(Parser, UnaryOp) { Parser 185 tools/gn/parser_unittest.cc TEST(Parser, List) { Parser 211 tools/gn/parser_unittest.cc TEST(Parser, Assignment) { Parser 219 tools/gn/parser_unittest.cc TEST(Parser, Accessor) { Parser 247 tools/gn/parser_unittest.cc TEST(Parser, Condition) { Parser 277 tools/gn/parser_unittest.cc TEST(Parser, OnlyCallAndAssignInBody) { Parser 284 tools/gn/parser_unittest.cc TEST(Parser, NoAssignmentInCondition) { Parser 288 tools/gn/parser_unittest.cc TEST(Parser, CompleteFunction) { Parser 317 tools/gn/parser_unittest.cc TEST(Parser, FunctionWithConditional) { Parser 365 tools/gn/parser_unittest.cc TEST(Parser, NestedBlocks) { Parser 384 tools/gn/parser_unittest.cc TEST(Parser, UnterminatedBlock) { Parser 388 tools/gn/parser_unittest.cc TEST(Parser, BadlyTerminatedNumber) { Parser 392 tools/gn/parser_unittest.cc TEST(Parser, NewlinesInUnusualPlaces) { Parser 406 tools/gn/parser_unittest.cc TEST(Parser, NewlinesInUnusualPlaces2) { Parser 433 tools/gn/parser_unittest.cc TEST(Parser, NewlineBeforeSubscript) { Parser 451 tools/gn/parser_unittest.cc TEST(Parser, SequenceOfExpressions) { Parser 463 tools/gn/parser_unittest.cc TEST(Parser, BlockAfterFunction) { Parser 477 tools/gn/parser_unittest.cc TEST(Parser, LongExpression) { Parser 493 tools/gn/parser_unittest.cc TEST(Parser, HangingIf) { Parser 497 tools/gn/parser_unittest.cc TEST(Parser, NegatingList) { Parser 246 tools/gn/setup.cc args_root_ = Parser::Parse(args_tokens_, &err); Parser 354 tools/gn/setup.cc dotfile_root_ = Parser::Parse(dotfile_tokens_, &err);