Searched refs:Literal (Results 1 – 14 of 14) sorted by relevance
/ark/ts2abc/ts2panda/src/base/ |
D | typeSystem.ts | 22 Literal, 134 let summaryLiterals: Array<Literal> = new Array<Literal>(); 135 summaryLiterals.push(new Literal(LiteralTag.INTEGER, L2Type._COUNTER)); 136 summaryLiterals.push(new Literal(LiteralTag.INTEGER, this.userDefinedClassNum)); 137 summaryLiterals.push(new Literal(LiteralTag.INTEGER, this.anonymousRedirect.length)); 139 summaryLiterals.push(new Literal(LiteralTag.STRING, element)); 290 let classTypeLiterals: Array<Literal> = new Array<Literal>(); 292 classTypeLiterals.push(new Literal(LiteralTag.INTEGER, L2Type.CLASS)); 293 classTypeLiterals.push(new Literal(LiteralTag.INTEGER, this.modifier)); 295 classTypeLiterals.push(new Literal(LiteralTag.INTEGER, this.extendsHeritage)); [all …]
|
D | literal.ts | 28 export class Literal { class 47 private lb: Literal[] = []; 51 addLiterals(...literals: Array<Literal>) {
|
/ark/ts2abc/ts2panda/src/expression/ |
D | objectLiteralExpression.ts | 26 import { LiteralTag, Literal, LiteralBuffer } from "../base/literal"; 70 let nameLiteral = new Literal(LiteralTag.STRING, String(prop.getName())); 73 let valLiteral: Literal = createConstantLiteral(prop); 82 let valLiteral: Literal; 86 …valLiteral = new Literal(LiteralTag.GENERATOR, compilerDriver.getFuncInternalName(valueNode, compi… 88 …valLiteral = new Literal(LiteralTag.METHOD, compilerDriver.getFuncInternalName(valueNode, compiler… 90 … let affiliateLiteral = new Literal(LiteralTag.METHODAFFILIATE, getParamLengthOfFunc(valueNode)); 96 valLiteral = new Literal(LiteralTag.NULLVALUE, null); 102 let valLiteral = new Literal(LiteralTag.ACCESSOR, null); 128 function createConstantLiteral(prop: Property): Literal { [all …]
|
D | arrayLiteralExpression.ts | 19 import { LiteralTag, Literal, LiteralBuffer } from "../base/literal"; 130 function parseConstantExpr(element: ts.Expression): Literal { 131 let elem: Literal; 134 elem = new Literal(LiteralTag.BOOLEAN, false); 137 elem = new Literal(LiteralTag.BOOLEAN, true); 140 elem = new Literal(LiteralTag.STRING, jshelpers.getTextOfIdentifierOrLiteral(element)); 145 elem = new Literal(LiteralTag.INTEGER, value); 147 elem = new Literal(LiteralTag.DOUBLE, value); 152 elem = new Literal(LiteralTag.NULLVALUE, null);
|
/ark/runtime_core/assembler/ |
D | assembly-literals.h | 28 struct Literal { struct 33 std::vector<panda::pandasm::LiteralArray::Literal> argument 36 …explicit LiteralArray(std::vector<panda::pandasm::LiteralArray::Literal> literals) : literals_(std… in LiteralArray()
|
D | assembly-emitter.cpp | 771 static std::unique_ptr<ScalarValue> CreateValue(const panda::pandasm::LiteralArray::Literal &litera… in CreateValue()
|
/ark/ts2abc/ts2panda/tests/types/ |
D | typeUtils.ts | 28 Literal 100 let literal = new Literal(rol[0], rol[1]); 108 function printLiteralLog(expected: Literal, generated: Literal) {
|
/ark/runtime_core/verification/debug/handlers/ |
D | literal_parser.h | 32 struct Literal; in LiteralParser() 34 using p = typename Parser::template next<Literal>; in LiteralParser()
|
/ark/ts2abc/ts2panda/src/statement/ |
D | classStatement.ts | 17 import { Literal, LiteralBuffer, LiteralTag } from "../base/literal"; 69 let nameLiteral = new Literal(LiteralTag.STRING, String(prop.getName())); 81 let nameLiteral = new Literal(LiteralTag.STRING, String(prop.getName())); 86 …let methodLiteral = new Literal(LiteralTag.METHOD, compiler.getCompilerDriver().getFuncInternalNam… 87 …let affiliateLiteral = new Literal(LiteralTag.METHODAFFILIATE, getParamLengthOfFunc(<ts.MethodDecl… 91 let valLiteral = new Literal(LiteralTag.NULLVALUE, null); 107 …let nameLiteral = new Literal(LiteralTag.INTEGER, hasConstructor ? notStaticItemsNum - 1 : notStat…
|
/ark/ts2abc/ts2panda/src/ |
D | pandagen.ts | 107 Literal, 226 let scopeInfoLiterals = new Array<Literal>(); 227 scopeInfoLiterals.push(new Literal(LiteralTag.INTEGER, lexVarInfo.size)); 229 scopeInfoLiterals.push(new Literal(LiteralTag.STRING, name)); 230 scopeInfoLiterals.push(new Literal(LiteralTag.INTEGER, slot));
|
/ark/ts2abc/ts2panda/ts2abc/ |
D | ts2abc.cpp | 219 …teral(const Json::Value &literal, std::vector<panda::pandasm::LiteralArray::Literal> &literalArray) in ParseLiteral() 221 panda::pandasm::LiteralArray::Literal tagLiteral; in ParseLiteral() 222 panda::pandasm::LiteralArray::Literal valueLiteral; in ParseLiteral() 924 std::vector<panda::pandasm::LiteralArray::Literal> literalArray; in ParseSingleLiteralBuf()
|
/ark/runtime_core/docs/bc_verification/ |
D | types_n_values.md | 24 - Sorts are denoted by some `Literals`. Where `Literal` is a word composed of characters from set `…
|
/ark/runtime_core/disassembler/ |
D | disassembler.cpp | 223 pandasm::LiteralArray::Literal lit; in FillLiteralArrayData() 233 pandasm::LiteralArray::Literal lit; in FillLiteralArrayData() 244 pandasm::LiteralArray::Literal lit; in FillLiteralData()
|
/ark/runtime_core/docs/ |
D | file_format.md | 441 … of `literal` in one LiteralArray. The array has `literals` elements in [Literal](#literal) format… 770 ### Literal subsection
|