public override void Visit(ParamDeclNode node) { ParameterDefinition parameterDefinition = MethodBeingVisited.Parameters.Add(node.identifier.name); parameterDefinition.ParameterType = node.type.Type; }
public void AddParamDecl(ParamDeclNode paramDecl) { this.paramDeclList.Add(paramDecl); }
public override void Visit(ParamDeclNode node) { node.type.Accept(this); node.identifier.Accept(this); }
public virtual void Visit(ParamDeclNode node) { node.type.Accept(this); node.identifier.Accept(this); }
public override void Visit(ParamDeclNode node) { Console.WriteLine(this.indentation + "Parameter <Identifier: " + node.identifier.name + ">"); indentation = indentation + " "; Console.WriteLine(this.indentation + "Type: " + node.type.toString()); indentation = indentation.Substring(0, indentation.Length - 3); }