GDB (xrefs)
|
#include "defs.h"
#include "block.h"
#include "charset.h"
#include "cp-support.h"
#include "gdbsupport/gdb_obstack.h"
#include "gdbsupport/gdb_regex.h"
#include "rust-lang.h"
#include "parser-defs.h"
#include "gdbsupport/selftest.h"
#include "value.h"
#include "gdbarch.h"
#include "rust-exp.h"
Go to the source code of this file.
Classes | |
struct | typed_val_int |
struct | typed_val_float |
struct | token_info |
struct | rust_parser |
struct | rust_parser::current_string_val |
struct | rustop_item |
Macros | |
#define | FLOAT_TYPE1 3 |
#define | FLOAT_TYPE2 4 |
#define | INT_TEXT 5 |
#define | INT_TYPE 6 |
#define | NUM_SUBEXPRESSIONS 8 |
#define | ALL_OPS |
#define | ASSIGN_PREC 0 |
#define | OPERATION(TOKEN, PRECEDENCE, TYPE) |
#define | OPERATION(TOKEN, PRECEDENCE, TYPE) |
Enumerations | |
enum | token_type : int { GDBVAR = 256 , IDENT , COMPLETE , INTEGER , DECIMAL_INTEGER , STRING , BYTESTRING , FLOAT , COMPOUND_ASSIGN , KW_AS , KW_IF , KW_TRUE , KW_FALSE , KW_SUPER , KW_SELF , KW_MUT , KW_EXTERN , KW_CONST , KW_FN , KW_SIZEOF , DOTDOT , DOTDOTEQ , OROR , ANDAND , EQEQ , NOTEQ , LTEQ , GTEQ , LSH , RSH , COLONCOLON , ARROW } |
Functions | |
static void | munge_name_and_block (const char **name, const struct block **block) |
static uint32_t | lex_multibyte_char (const char *text, int *len) |
static int | starts_raw_string (const char *str) |
static bool | ends_raw_string (const char *str, int n) |
static bool | space_then_number (const char *string) |
static bool | rust_identifier_start_p (char c) |
void | _initialize_rust_exp () |
Variables | |
static const char | number_regex_text [] |
static regex_t | number_regex |
static const struct token_info | identifier_tokens [] |
static const struct token_info | operator_tokens [] |
#define ALL_OPS |
#define ASSIGN_PREC 0 |
#define FLOAT_TYPE1 3 |
#define FLOAT_TYPE2 4 |
#define INT_TEXT 5 |
#define INT_TYPE 6 |
#define NUM_SUBEXPRESSIONS 8 |
Definition at line 76 of file rust-parse.c.
Referenced by rust_parser::lex_number(), ui_file_style::parse(), and skip_ansi_escape().
#define OPERATION | ( | TOKEN, | |
PRECEDENCE, | |||
TYPE ) |
#define OPERATION | ( | TOKEN, | |
PRECEDENCE, | |||
TYPE ) |
enum token_type : int |
Definition at line 84 of file rust-parse.c.
void _initialize_rust_exp | ( | ) |
Definition at line 2421 of file rust-parse.c.
Referenced by initialize_all_files().
|
static |
Definition at line 673 of file rust-parse.c.
Referenced by rust_parser::lex_string().
|
static |
Definition at line 589 of file rust-parse.c.
References convert_between_encodings(), host_charset(), HOST_UTF32, size, translit_none, and value.
Referenced by rust_parser::lex_character().
|
static |
Definition at line 417 of file rust-parse.c.
References name, and block::static_block().
Referenced by rust_parser::lookup_symbol(), and rust_parser::rust_lookup_type().
|
static |
Definition at line 775 of file rust-parse.c.
Referenced by rust_parser::lex_identifier(), rust_parser::lex_number(), and rust_parser::lex_one_token().
|
static |
Definition at line 760 of file rust-parse.c.
Referenced by rust_parser::lex_identifier().
|
static |
Definition at line 655 of file rust-parse.c.
Referenced by rust_parser::lex_one_token(), and rust_parser::lex_string().
|
static |
Definition at line 152 of file rust-parse.c.
Referenced by rust_parser::lex_identifier().
|
static |
Definition at line 80 of file rust-parse.c.
Referenced by rust_parser::lex_number().
|
static |
Definition at line 40 of file rust-parse.c.
|
static |
Definition at line 169 of file rust-parse.c.
Referenced by rust_parser::lex_operator().