private string Generate(OutNode node, List <Instruction> instructions) { string outExp = ""; GenerateReturn(node.outputExpression, ref outExp); instructions.Add(new OutInstruction(outExp)); return(outExp); }
private OutNode Bind(OutNode node, Dictionary <string, string> environment) { SyntaxNode boundExpression = BindExpression(node.outputExpression, environment); return(new OutNode(boundExpression)); }