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

Class ParameterNode

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

Source from the content-addressed store, hash-verified

67}
68
69export class ParameterNode extends Node implements Named, Typed {
70 constructor(
71 public type: Type,
72 public name: string,
73 ) {
74 super();
75 }
76
77 accept<T>(visitor: AstVisitor<T>): T {
78 return visitor.visitParameter(this);
79 }
80}
81
82export abstract class StatementNode extends Node { }
83export abstract class ControlStatementNode extends StatementNode { }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected