public static SqlParseFunctionArgument Form(IContext context, PlSqlParser.ArgumentContext argument) { if (argument == null) { return(null); } var id = SqlParseName.Simple(argument.id()); var exp = Parsing.SqlParseExpression.Build(context, argument.expressionWrapper()); return(new SqlParseFunctionArgument { Id = id, Expression = exp }); }
public static FunctionArgument Form(PlSqlParser.ArgumentContext context) { if (context == null) { return(null); } var id = Name.Simple(context.id()); var exp = Compile.Expression.Build(context.expressionWrapper()); return(new FunctionArgument { Id = id, Expression = exp }); }