Lines Matching refs:Lex

199 class Lex  class
217 Lex(const char* input_string, size_t input_length, int parsing_token) in Lex() function in gold::Lex
233 Lex::Mode
243 Lex(const Lex&);
244 Lex& operator=(const Lex&);
303 { return Lex::can_start_number(*c) ? c + 1 : NULL; } in can_continue_number()
338 const char* (Lex::*can_continue_fn)(const char*),
369 Lex::read_file(Input_file* input_file, std::string* contents) in read_file()
400 Lex::can_start_name(char c, char c2) in can_start_name()
441 Lex::can_continue_name(const char* c) in can_continue_name()
505 Lex::can_start_hex(char c1, char c2, char c3) in can_start_hex()
515 Lex::can_continue_hex(const char* c) in can_continue_hex()
533 Lex::can_start_number(char c) in can_start_number()
551 Lex::three_char_operator(char c1, char c2, char c3) in three_char_operator()
574 Lex::two_char_operator(char c1, char c2) in two_char_operator()
635 Lex::one_char_operator(char c1) in one_char_operator()
672 Lex::skip_c_comment(const char** pp) in skip_c_comment()
698 Lex::skip_line_comment(const char** pp) in skip_line_comment()
720 Lex::gather_token(Token::Classification classification, in gather_token()
721 const char* (Lex::*can_continue_fn)(const char*), in gather_token()
743 Lex::gather_quoted_string(const char** pp) in gather_quoted_string()
761 Lex::get_token(const char** pp) in get_token()
812 &Lex::can_continue_name, in get_token()
827 &Lex::can_continue_hex, in get_token()
830 if (Lex::can_start_number(p[0])) in get_token()
832 &Lex::can_continue_number, in get_token()
837 int opcode = Lex::three_char_operator(p[0], p[1], p[2]); in get_token()
844 opcode = Lex::two_char_operator(p[0], p[1]); in get_token()
851 opcode = Lex::one_char_operator(p[0]); in get_token()
865 Lex::next_token() in next_token()
1248 Lex* lex, in Parser_closure()
1346 push_lex_mode(Lex::Mode mode) in push_lex_mode()
1362 Lex::Mode
1439 Lex* lex_;
1445 std::vector<Lex::Mode> lex_mode_stack_;
1470 Lex::read_file(input_file, &input_string); in read_input_script()
1472 Lex lex(input_string.c_str(), input_string.length(), PARSING_LINKER_SCRIPT); in read_input_script()
1552 int first_token, Lex::Mode lex_mode) in read_script_file()
1584 Lex::read_file(&input_file, &input_string); in read_script_file()
1586 Lex lex(input_string.c_str(), input_string.length(), first_token); in read_script_file()
1591 first_token == Lex::DYNAMIC_LIST, in read_script_file()
1619 PARSING_LINKER_SCRIPT, Lex::LINKER_SCRIPT); in read_commandline_script()
1630 PARSING_VERSION_SCRIPT, Lex::VERSION_SCRIPT); in read_version_script()
1641 PARSING_DYNAMIC_LIST, Lex::DYNAMIC_LIST); in read_dynamic_list()
1650 Lex lex(definition, strlen(definition), PARSING_DEFSYM); in define_symbol()
1651 lex.set_mode(Lex::EXPRESSION); in define_symbol()
2592 case Lex::LINKER_SCRIPT: in yylex()
2595 case Lex::VERSION_SCRIPT: in yylex()
2598 case Lex::DYNAMIC_LIST: in yylex()
2905 closure->push_lex_mode(Lex::EXPRESSION); in script_push_lex_into_expression_mode()
2918 closure->push_lex_mode(Lex::VERSION_SCRIPT); in script_push_lex_into_version_mode()
3376 first_token, Lex::LINKER_SCRIPT); in script_include_directive()