protected override void VisitExecuteProcedureStatement(ExecuteProcedureStatement statement) { State.Write(Symbols.CALL); State.Write(statement.Name.GetFullNameWithoutQuotes()); State.Write(Symbols.OpenParenthesis); VisitTokenSet(statement.Parameters.Where(p => p.Direction != ParameterDirection.ReturnValue), visitToken: parameter => { if (parameter.Value != null) { VisitValue(parameter.Value); } else { State.Write(parameter.Name); } State.Parameters.Add(parameter); }); State.Write(Symbols.CloseParenthesis); }
protected abstract void VisitExecuteProcedureStatement(ExecuteProcedureStatement statement);
protected override void VisitExecuteProcedureStatement(ExecuteProcedureStatement statement) { throw new NotImplementedException(); }