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

Class CastNode

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

Source from the content-addressed store, hash-verified

244}
245
246export class CastNode extends ExpressionNode implements Typed {
247 constructor(
248 public type: Type,
249 public expression: ExpressionNode,
250 public isUnsafe: boolean,
251 ) {
252 super();
253 }
254
255 accept<T>(visitor: AstVisitor<T>): T {
256 return visitor.visitCast(this);
257 }
258}
259
260export class FunctionCallNode extends ExpressionNode {
261 constructor(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected