Home
last modified time | relevance | path

Searched refs:token (Results 1 – 10 of 10) sorted by relevance

/ark/runtime_core/assembler/utils/
Dnumber-utils.h33 std::string_view token = p; in ValidateHexInteger() local
34 token.remove_prefix(2U); in ValidateHexInteger()
36 for (auto i : token) { in ValidateHexInteger()
47 std::string_view token = p; in ValidateBinInteger() local
48 token.remove_prefix(2U); in ValidateBinInteger()
49 if (token.empty()) { in ValidateBinInteger()
52 for (auto i : token) { in ValidateBinInteger()
63 std::string_view token = p; in ValidateOctalInteger() local
64 token.remove_prefix(1); in ValidateOctalInteger()
66 for (auto i : token) { in ValidateOctalInteger()
[all …]
/ark/runtime_core/assembler/
Dcontext.cpp30token = std::string_view(&*(tokens[number - 1].whole_line.begin() + tokens[number - 1].bound_left), in Make()
38 return token.size(); in Len()
43 if (token[0] == c) { in ValidateRegisterName()
44 std::string_view p = token; in ValidateRegisterName()
74 if (token[0] == 'a') { in ValidateParameterName()
75 std::string_view p = token; in ValidateParameterName()
87 return token; in GiveToken()
132token = std::string_view(&*(tokens[number - 1].whole_line.begin() + tokens[number - 1].bound_left), in operator ++()
147token = std::string_view(&*(tokens[number - 1].whole_line.begin() + tokens[number - 1].bound_left), in operator ++()
166token = std::string_view(&*(tokens[number - 1].whole_line.begin() + tokens[number - 1].bound_left), in operator --()
[all …]
Dassembly-context.h44 std::string_view token; /* current token */ member
Dassembly-parser.cpp806 auto token = context_.GiveToken(); in LabelValidName() local
807 if (!IsNonDigit(token[0])) { in LabelValidName()
811 token.remove_prefix(1); in LabelValidName()
813 for (auto i : token) { in LabelValidName()
1087 auto token = context_.GiveToken(); in ParseStringLiteral() local
1090 size_t len = token.length(); in ParseStringLiteral()
1094 char c = token[i++]; in ParseStringLiteral()
1100 auto res = ParseEscapeSequence(token, &i); in ParseStringLiteral()
1293 context_.token = ComponentName; in ParseOperandType()
1333 context_.token = record_name; in ParseOperandField()
/ark/runtime_core/libpandabase/os/
Dstacktrace.cpp64 std::string token; in Next() local
66 token = str_.substr(pos_); in Next()
69 token = str_.substr(pos_, pos - pos_); in Next()
72 return token; in Next()
/ark/ts2abc/ts2panda/src/
DsyntaxCheckHelper.ts116 export function isAssignmentOperator(token: ts.SyntaxKind) {
117 return token >= ts.SyntaxKind.FirstAssignment && token <= ts.SyntaxKind.LastAssignment;
Djshelpers.d.ts49 export function modifierToFlag(token: ts.SyntaxKind): ts.ModifierFlags;
52 export function isKeyword(token: ts.SyntaxKind): boolean;
Djshelpers.js142 function modifierToFlag(token) { argument
143 return ts.modifierToFlag(token);
DsyntaxChecker.ts882 if (heritageClause.token == ts.SyntaxKind.ExtendsKeyword) {
/ark/js_runtime/ecmascript/base/
Djson_parser.h103 Tokens token = ParseToken(); in ParseJSONText() local
104 switch (token) { in ParseJSONText()