MCPcopy Create free account
hub / github.com/CashScript/cashscript / IdentifierNode

Class IdentifierNode

packages/cashc/src/ast/AST.ts:364–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364export class IdentifierNode extends ExpressionNode implements Named {
365 definition?: Symbol;
366
367 constructor(
368 public name: string,
369 ) {
370 super();
371 }
372
373 accept<T>(visitor: AstVisitor<T>): T {
374 return visitor.visitIdentifier(this);
375 }
376}
377
378export abstract class LiteralNode<T = any> extends ExpressionNode {
379 public value: T;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected