MCPcopy Create free account
hub / github.com/compilets/compilets / constructor

Method constructor

src/cpp-syntax.ts:319–323  ·  view source on GitHub ↗
(left: Expression, right: Expression)

Source from the content-addressed store, hash-verified

317 right: Expression;
318
319 constructor(left: Expression, right: Expression) {
320 super(left.type);
321 this.left = left;
322 this.right = castExpression(right, left.type);
323 }
324
325 override print(ctx: PrintContext) {
326 return `${this.left.print(ctx)} = ${this.right.print(ctx)}`;

Callers

nothing calls this directly

Calls 1

castExpressionFunction · 0.90

Tested by

no test coverage detected