We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Similar to the problem with JSON literals, I cannot access ast.TemplatedParameterTypeNodes.
Example input: CREATE FUNCTION f(arg ANY TYPE) AS (1) creates the following AST:
CREATE FUNCTION f(arg ANY TYPE) AS (1)
Script [0-38] StatementList [0-38] CreateFunctionStatement [0-38] FunctionDeclaration [16-31] PathExpression [16-17] Identifier(f) [16-17] FunctionParameters [17-31] FunctionParameter [18-30] Identifier(arg) [18-21] TemplatedParameterType [22-30] SqlFunctionBody [35-38] IntLiteral(1) [36-37]
However, when accessing FunctionParameter.Type() from arg, a nil is returned.
FunctionParameter.Type()
arg
nil
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Similar to the problem with JSON literals, I cannot access ast.TemplatedParameterTypeNodes.
Example input:
CREATE FUNCTION f(arg ANY TYPE) AS (1)
creates the following AST:However, when accessing
FunctionParameter.Type()
fromarg
, anil
is returned.The text was updated successfully, but these errors were encountered: