-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserDefinedFunction.qll
More file actions
36 lines (27 loc) · 996 Bytes
/
UserDefinedFunction.qll
File metadata and controls
36 lines (27 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
* Internal implementation for UserDefinedFunction
*
* WARNING: this file is generated, do not edit manually
*/
private import AstNodes
private import TreeSitter
private import codeql.bicep.ast.AstNodes
private import Stmts
private import Identifier
private import Stmts
private import Type
private import Parameter
private import Parameters
/**
* A UserDefinedFunction AST Node.
*/
class UserDefinedFunctionImpl extends TUserDefinedFunction, StmtsImpl {
private BICEP::UserDefinedFunction ast;
override string getAPrimaryQlClass() { result = "UserDefinedFunction" }
UserDefinedFunctionImpl() { this = TUserDefinedFunction(ast) }
override string toString() { result = ast.toString() }
IdentifierImpl getName() { toTreeSitter(result) = ast.getName() }
ParametersImpl getParameters() { toTreeSitter(result) = ast.getChild(0) }
TypeImpl getReturnType() { toTreeSitter(result) = ast.getReturns() }
StmtsImpl getBody() { toTreeSitter(result) = ast.getChild(1) }
}