Flutter Engine
The Flutter Engine
|
#include <symbols.h>
Public Types | |
enum | { kMaxOneCharCodeSymbol = 0xFF } |
enum | SymbolId { kIllegal = 0 , kTokenTableStart , DART_TOKEN_LIST , kMaxPredefinedId = kNullCharId + kMaxOneCharCodeSymbol + 1 } |
Static Public Member Functions | |
static const String & | Symbol (intptr_t index) |
static const String & | Dot () |
static const String & | Equals () |
static const String & | Plus () |
static const String & | Minus () |
static const String & | BitOr () |
static const String & | BitAnd () |
static const String & | LAngleBracket () |
static const String & | RAngleBracket () |
static const String & | LParen () |
static const String & | RParen () |
static const String & | LBracket () |
static const String & | RBracket () |
static const String & | LBrace () |
static const String & | RBrace () |
static const String & | Blank () |
static const String & | Dollar () |
static const String & | NewLine () |
static const String & | DoubleQuote () |
static const String & | SingleQuote () |
static const String & | LowercaseR () |
static const String & | Dash () |
static const String & | Ampersand () |
static const String & | Backtick () |
static const String & | Slash () |
static const String & | At () |
static const String & | HashMark () |
static const String & | Semicolon () |
static const String & | Star () |
static const String & | Percent () |
static const String & | QuestionMark () |
static const String & | Caret () |
static const String & | Tilde () |
static const String & | Empty () |
static const String & | False () |
static const String & | Library () |
static const String & | Super () |
static const String & | This () |
static const String & | True () |
static const String & | Void () |
static const String & | Token (Token::Kind token) |
static void | Init (IsolateGroup *isolate_group) |
static void | InitFromSnapshot (IsolateGroup *isolate_group) |
static void | SetupSymbolTable (IsolateGroup *isolate_group) |
static StringPtr | New (Thread *thread, const char *cstr) |
static StringPtr | New (Thread *thread, const char *cstr, intptr_t length) |
static StringPtr | FromUTF8 (Thread *thread, const uint8_t *utf8_array, intptr_t len) |
static StringPtr | FromLatin1 (Thread *thread, const uint8_t *latin1_array, intptr_t len) |
static StringPtr | FromUTF16 (Thread *thread, const uint16_t *utf16_array, intptr_t len) |
static StringPtr | New (Thread *thread, const String &str) |
static StringPtr | New (Thread *thread, const String &str, intptr_t begin_index, intptr_t length) |
static StringPtr | NewFormatted (Thread *thread, const char *format,...) PRINTF_ATTRIBUTE(2 |
static StringPtr static StringPtr | NewFormattedV (Thread *thread, const char *format, va_list args) |
static StringPtr | FromConcat (Thread *thread, const String &str1, const String &str2) |
static StringPtr | FromConcatAll (Thread *thread, const GrowableHandlePtrArray< const String > &strs) |
static StringPtr | FromGet (Thread *thread, const String &str) |
static StringPtr | FromSet (Thread *thread, const String &str) |
static StringPtr | FromDot (Thread *thread, const String &str) |
static const char * | Name (SymbolId symbol) |
static StringPtr | FromCharCode (Thread *thread, uint16_t char_code) |
static StringPtr * | PredefinedAddress () |
static void | DumpStats (IsolateGroup *isolate_group) |
static void | DumpTable (IsolateGroup *isolate_group) |
template<typename StringType > | |
static StringPtr | Lookup (Thread *thread, const StringType &str) |
static StringPtr | LookupFromConcat (Thread *thread, const String &str1, const String &str2) |
static StringPtr | LookupFromGet (Thread *thread, const String &str) |
static StringPtr | LookupFromSet (Thread *thread, const String &str) |
static StringPtr | LookupFromDot (Thread *thread, const String &str) |
static void | GetStats (IsolateGroup *isolate_group, intptr_t *size, intptr_t *capacity) |
Static Public Attributes | |
static constexpr int | kNumberOfOneCharCodeSymbols |
static constexpr int | kNullCharCodeSymbolOffset = 0 |
Friends | |
class | Dart |
class | String |
class | Serializer |
class | Deserializer |
anonymous enum |
Enumerator | |
---|---|
kMaxOneCharCodeSymbol |
Definition at line 577 of file symbols.h.
Enumerator | |
---|---|
kIllegal | |
kTokenTableStart | |
DART_TOKEN_LIST | |
kMaxPredefinedId |
Definition at line 580 of file symbols.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 481 of file symbols.cc.
|
static |
Definition at line 496 of file symbols.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 474 of file symbols.cc.
|
static |
Definition at line 235 of file symbols.cc.
|
static |
Definition at line 262 of file symbols.cc.
Definition at line 255 of file symbols.cc.
Definition at line 247 of file symbols.cc.
|
static |
Definition at line 223 of file symbols.cc.
Definition at line 251 of file symbols.cc.
|
static |
Definition at line 229 of file symbols.cc.
|
static |
Definition at line 196 of file symbols.cc.
|
static |
Definition at line 180 of file symbols.cc.
|
inlinestatic |
|
static |
Definition at line 80 of file symbols.cc.
|
static |
Definition at line 127 of file symbols.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 375 of file symbols.cc.
|
static |
Definition at line 412 of file symbols.cc.
Definition at line 432 of file symbols.cc.
Definition at line 424 of file symbols.cc.
Definition at line 428 of file symbols.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 66 of file symbols.cc.
|
inlinestatic |
|
static |
Definition at line 190 of file symbols.cc.
Definition at line 436 of file symbols.cc.
|
static |
Definition at line 443 of file symbols.cc.
|
static |
Definition at line 450 of file symbols.cc.
|
static |
Definition at line 459 of file symbols.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 168 of file symbols.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 71 of file symbols.cc.
|
inlinestatic |
|
inlinestatic |
|
friend |
|
friend |
|
staticconstexpr |
|
staticconstexpr |