/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/ |
D | numberLiteral.h | 33 class NumberLiteral : public Literal { 35 explicit NumberLiteral(double num) : Literal(AstNodeType::NUMBER_LITERAL), number_(num) {} in NumberLiteral() function 36 explicit NumberLiteral(double num, util::StringView str) in NumberLiteral() function 57 bool operator==(const NumberLiteral &other) const 75 class UserTypeIndexLiteral : public NumberLiteral { 77 explicit UserTypeIndexLiteral(double num, util::StringView str) : NumberLiteral(num, str) {} in UserTypeIndexLiteral() 85 class BuiltinTypeIndexLiteral : public NumberLiteral { 87 explicit BuiltinTypeIndexLiteral(double num) : NumberLiteral(num) {} in BuiltinTypeIndexLiteral()
|
D | numberLiteral.cpp | 25 void NumberLiteral::Iterate([[maybe_unused]] const NodeTraverser &cb) const {} in Iterate() 27 void NumberLiteral::Dump(ir::AstDumper *dumper) const in Dump() 32 bool NumberLiteral::IsInteger() const in IsInteger() 37 void NumberLiteral::Compile(compiler::PandaGen *pg) const in Compile() 50 checker::Type *NumberLiteral::Check(checker::Checker *checker) const in Check() 62 void NumberLiteral::UpdateSelf([[maybe_unused]] const NodeUpdater &cb, [[maybe_unused]] binder::Bin… in UpdateSelf()
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | as_expression_7-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 181 "type": "NumberLiteral", 195 "type": "NumberLiteral", 209 "type": "NumberLiteral", 223 "type": "NumberLiteral", 237 "type": "NumberLiteral",
|
D | as_expression_6-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 181 "type": "NumberLiteral", 195 "type": "NumberLiteral", 209 "type": "NumberLiteral", 223 "type": "NumberLiteral",
|
D | as_expression_5-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 181 "type": "NumberLiteral", 195 "type": "NumberLiteral", 209 "type": "NumberLiteral", 223 "type": "NumberLiteral",
|
D | as_expression_4-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 181 "type": "NumberLiteral", 195 "type": "NumberLiteral", 209 "type": "NumberLiteral", 223 "type": "NumberLiteral",
|
D | as_expression_8-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 181 "type": "NumberLiteral", 195 "type": "NumberLiteral", 209 "type": "NumberLiteral",
|
D | as_expression_3-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 181 "type": "NumberLiteral", 195 "type": "NumberLiteral", 209 "type": "NumberLiteral",
|
D | as_expression_14-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 180 "type": "NumberLiteral", 207 "type": "NumberLiteral",
|
D | as_expression_12-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 180 "type": "NumberLiteral", 207 "type": "NumberLiteral",
|
D | as_expression_15-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 180 "type": "NumberLiteral", 207 "type": "NumberLiteral",
|
D | as_expression_11-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 180 "type": "NumberLiteral", 207 "type": "NumberLiteral",
|
D | as_expression_13-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 180 "type": "NumberLiteral", 207 "type": "NumberLiteral",
|
D | member_expression_48-expected.txt | 27 "type": "NumberLiteral", 41 "type": "NumberLiteral", 55 "type": "NumberLiteral", 69 "type": "NumberLiteral", 83 "type": "NumberLiteral", 225 "type": "NumberLiteral",
|
D | member_expression_46-expected.txt | 27 "type": "NumberLiteral", 41 "type": "NumberLiteral", 55 "type": "NumberLiteral", 69 "type": "NumberLiteral", 83 "type": "NumberLiteral", 225 "type": "NumberLiteral",
|
D | member_expression_56-expected.txt | 27 "type": "NumberLiteral", 41 "type": "NumberLiteral", 55 "type": "NumberLiteral", 69 "type": "NumberLiteral", 83 "type": "NumberLiteral", 225 "type": "NumberLiteral",
|
D | member_expression_54-expected.txt | 27 "type": "NumberLiteral", 41 "type": "NumberLiteral", 55 "type": "NumberLiteral", 69 "type": "NumberLiteral", 83 "type": "NumberLiteral", 225 "type": "NumberLiteral",
|
D | member_expression_62-expected.txt | 27 "type": "NumberLiteral", 41 "type": "NumberLiteral", 55 "type": "NumberLiteral", 69 "type": "NumberLiteral", 83 "type": "NumberLiteral", 225 "type": "NumberLiteral",
|
D | member_expression_64-expected.txt | 27 "type": "NumberLiteral", 41 "type": "NumberLiteral", 55 "type": "NumberLiteral", 69 "type": "NumberLiteral", 83 "type": "NumberLiteral", 225 "type": "NumberLiteral",
|
D | as_expression_10-expected.txt | 29 "type": "NumberLiteral", 43 "type": "NumberLiteral", 57 "type": "NumberLiteral", 71 "type": "NumberLiteral", 178 "type": "NumberLiteral",
|
/arkcompiler/ets_frontend/es2panda/test/parser/js/ |
D | test-numeric-separator-expected.txt | 7 "type": "NumberLiteral", 34 "type": "NumberLiteral", 61 "type": "NumberLiteral", 88 "type": "NumberLiteral", 115 "type": "NumberLiteral", 142 "type": "NumberLiteral",
|
D | test-if-expected.txt | 11 "type": "NumberLiteral", 55 "type": "NumberLiteral", 105 "type": "NumberLiteral", 138 "type": "NumberLiteral", 188 "type": "NumberLiteral", 221 "type": "NumberLiteral", 276 "type": "NumberLiteral", 325 "type": "NumberLiteral", 358 "type": "NumberLiteral", 413 "type": "NumberLiteral", [all …]
|
D | test-nullish-coalescing-expected.txt | 13 "type": "NumberLiteral", 27 "type": "NumberLiteral", 52 "type": "NumberLiteral", 96 "type": "NumberLiteral", 110 "type": "NumberLiteral", 135 "type": "NumberLiteral", 193 "type": "NumberLiteral", 207 "type": "NumberLiteral", 387 "type": "NumberLiteral", 401 "type": "NumberLiteral", [all …]
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
D | test-lessThan-expression1-expected.txt | 27 "type": "NumberLiteral", 41 "type": "NumberLiteral", 55 "type": "NumberLiteral", 69 "type": "NumberLiteral", 124 "type": "NumberLiteral", 157 "type": "NumberLiteral", 171 "type": "NumberLiteral",
|
D | test-ts-ternary-operator-2-expected.txt | 12 "type": "NumberLiteral", 26 "type": "NumberLiteral", 78 "type": "NumberLiteral", 252 "type": "NumberLiteral", 266 "type": "NumberLiteral", 318 "type": "NumberLiteral", 547 "type": "NumberLiteral", 561 "type": "NumberLiteral", 641 "type": "NumberLiteral", 827 "type": "NumberLiteral", [all …]
|