Inheritance: BoundStatement
 protected virtual void VisitBlock(BoundBlock node)
 {
     foreach (var statement in node.Statements)
         VisitStatement(statement);
 }
Ejemplo n.º 2
0
 public BoundFunctionDefinition(FunctionSymbol functionSymbol, BoundType returnType, ImmutableArray<BoundVariableDeclaration> parameters, BoundBlock body)
     : base(BoundNodeKind.FunctionDefinition, functionSymbol, parameters)
 {
     ReturnType = returnType;
     Body = body;
 }