Repository navigation
Expand file tree
/
Copy pathnode_types.go
More file actions
201 lines (198 loc) · 8.52 KB
/
Copy pathnode_types.go
File metadata and controls
201 lines (198 loc) · 8.52 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
// Code generated by tree-sitter-go-types v0.1.0; DO NOT EDIT.
package tree_sitter_powershell
// Node kind constants for the powershell grammar.
const (
NodeAdditiveArgumentExpression = "additive_argument_expression"
NodeAdditiveExpression = "additive_expression"
NodeArgumentExpression = "argument_expression"
NodeArgumentExpressionList = "argument_expression_list"
NodeArgumentList = "argument_list"
NodeArrayExpression = "array_expression"
NodeArrayLiteralExpression = "array_literal_expression"
NodeArrayTypeName = "array_type_name"
NodeAssemblyAttribute = "assembly_attribute"
NodeAssemblyAttributeName = "assembly_attribute_name"
NodeAssemblyAttributeValue = "assembly_attribute_value"
NodeAssemblyName = "assembly_name"
NodeAssemblyQualifier = "assembly_qualifier"
NodeAssignmentExpression = "assignment_expression"
NodeAssignmentOperator = "assignment_operator"
NodeAssignmentValue = "assignment_value"
NodeAttribute = "attribute"
NodeAttributeArgument = "attribute_argument"
NodeAttributeArguments = "attribute_arguments"
NodeAttributeList = "attribute_list"
NodeAttributeName = "attribute_name"
NodeAttributeStatement = "attribute_statement"
NodeBarewordArgumentList = "bareword_argument_list"
NodeBitwiseArgumentExpression = "bitwise_argument_expression"
NodeBitwiseExpression = "bitwise_expression"
NodeBlockName = "block_name"
NodeBracedVariable = "braced_variable"
NodeCastExpression = "cast_expression"
NodeCatchClause = "catch_clause"
NodeCatchClauses = "catch_clauses"
NodeCatchTypeList = "catch_type_list"
NodeClassAttribute = "class_attribute"
NodeClassMethodBaseCtor = "class_method_base_ctor"
NodeClassMethodDefinition = "class_method_definition"
NodeClassMethodParameter = "class_method_parameter"
NodeClassMethodParameterList = "class_method_parameter_list"
NodeClassPropertyDefinition = "class_property_definition"
NodeClassStatement = "class_statement"
NodeCommand = "command"
NodeCommandArgumentSep = "command_argument_sep"
NodeCommandElements = "command_elements"
NodeCommandInvocationOperator = "command_invocation_operator"
NodeCommandName = "command_name"
NodeCommandNameExpr = "command_name_expr"
NodeCommandParameter = "command_parameter"
NodeComment = "comment"
NodeComparisonArgumentExpression = "comparison_argument_expression"
NodeComparisonExpression = "comparison_expression"
NodeComparisonOperator = "comparison_operator"
NodeConcatenatedCommandArgument = "concatenated_command_argument"
NodeDataCommand = "data_command"
NodeDataCommandsAllowed = "data_commands_allowed"
NodeDataCommandsList = "data_commands_list"
NodeDataName = "data_name"
NodeDataStatement = "data_statement"
NodeDecimalIntegerLiteral = "decimal_integer_literal"
NodeDimension = "dimension"
NodeDoStatement = "do_statement"
NodeElementAccess = "element_access"
NodeElseClause = "else_clause"
NodeElseifClause = "elseif_clause"
NodeElseifClauses = "elseif_clauses"
NodeEmptyStatement = "empty_statement"
NodeEnumMember = "enum_member"
NodeEnumStatement = "enum_statement"
NodeEscapeCharacter = "escape_character"
NodeExpandableBareword = "expandable_bareword"
NodeExpandableHereStringLiteral = "expandable_here_string_literal"
NodeExpandableStringLiteral = "expandable_string_literal"
NodeExpressionWithUnaryOperator = "expression_with_unary_operator"
NodeFileRedirectionOperator = "file_redirection_operator"
NodeFinallyClause = "finally_clause"
NodeFlowControlStatement = "flow_control_statement"
NodeForCondition = "for_condition"
NodeForInitializer = "for_initializer"
NodeForIterator = "for_iterator"
NodeForStatement = "for_statement"
NodeForeachParameter = "foreach_parameter"
NodeForeachStatement = "foreach_statement"
NodeFormatArgumentExpression = "format_argument_expression"
NodeFormatExpression = "format_expression"
NodeFormatOperator = "format_operator"
NodeFunctionName = "function_name"
NodeFunctionParameterDeclaration = "function_parameter_declaration"
NodeFunctionStatement = "function_statement"
NodeGenericToken = "generic_token"
NodeGenericTypeArguments = "generic_type_arguments"
NodeGenericTypeName = "generic_type_name"
NodeHashEntry = "hash_entry"
NodeHashLiteralBody = "hash_literal_body"
NodeHashLiteralExpression = "hash_literal_expression"
NodeHexadecimalIntegerLiteral = "hexadecimal_integer_literal"
NodeIfStatement = "if_statement"
NodeInlinescriptStatement = "inlinescript_statement"
NodeIntegerLiteral = "integer_literal"
NodeInvocationExpression = "invocation_expression"
NodeInvocationForeachExpression = "invocation_foreach_expression"
NodeInvocationWhereExpression = "invocation_where_expression"
NodeKeyExpression = "key_expression"
NodeLabel = "label"
NodeLabelExpression = "label_expression"
NodeLeftAssignmentExpression = "left_assignment_expression"
NodeLogicalArgumentExpression = "logical_argument_expression"
NodeLogicalExpression = "logical_expression"
NodeMemberAccess = "member_access"
NodeMemberName = "member_name"
NodeMergingRedirectionOperator = "merging_redirection_operator"
NodeMultiplicativeArgumentExpression = "multiplicative_argument_expression"
NodeMultiplicativeExpression = "multiplicative_expression"
NodeNamedBlock = "named_block"
NodeNamedBlockList = "named_block_list"
NodeNullCoalesceArgumentExpression = "null_coalesce_argument_expression"
NodeNullCoalesceExpression = "null_coalesce_expression"
NodeParallelStatement = "parallel_statement"
NodeParamBlock = "param_block"
NodeParameterList = "parameter_list"
NodeParenthesizedExpression = "parenthesized_expression"
NodePathCommandName = "path_command_name"
NodePathCommandNameToken = "path_command_name_token"
NodePipeline = "pipeline"
NodePipelineChain = "pipeline_chain"
NodePipelineChainTail = "pipeline_chain_tail"
NodePostDecrementExpression = "post_decrement_expression"
NodePostIncrementExpression = "post_increment_expression"
NodePreDecrementExpression = "pre_decrement_expression"
NodePreIncrementExpression = "pre_increment_expression"
NodeProgram = "program"
NodeRangeArgumentExpression = "range_argument_expression"
NodeRangeExpression = "range_expression"
NodeRealLiteral = "real_literal"
NodeRedirectedFileName = "redirected_file_name"
NodeRedirection = "redirection"
NodeRedirections = "redirections"
NodeRequiresArgument = "requires_argument"
NodeRequiresArgumentGroup = "requires_argument_group"
NodeRequiresDirectiveList = "requires_directive_list"
NodeRequiresKeyword = "requires_keyword"
NodeRequiresStatement = "requires_statement"
NodeScriptBlock = "script_block"
NodeScriptBlockBody = "script_block_body"
NodeScriptBlockExpression = "script_block_expression"
NodeScriptParameter = "script_parameter"
NodeScriptParameterDefault = "script_parameter_default"
NodeSequenceStatement = "sequence_statement"
NodeSimpleName = "simple_name"
NodeStatementBlock = "statement_block"
NodeStatementList = "statement_list"
NodeStopParsing = "stop_parsing"
NodeStringLiteral = "string_literal"
NodeSubExpression = "sub_expression"
NodeSwitchBody = "switch_body"
NodeSwitchClause = "switch_clause"
NodeSwitchClauseCondition = "switch_clause_condition"
NodeSwitchClauses = "switch_clauses"
NodeSwitchCondition = "switch_condition"
NodeSwitchFilename = "switch_filename"
NodeSwitchParameter = "switch_parameter"
NodeSwitchParameters = "switch_parameters"
NodeSwitchStatement = "switch_statement"
NodeTernaryArgumentExpression = "ternary_argument_expression"
NodeTernaryExpression = "ternary_expression"
NodeTrapStatement = "trap_statement"
NodeTryStatement = "try_statement"
NodeTypeIdentifier = "type_identifier"
NodeTypeLiteral = "type_literal"
NodeTypeName = "type_name"
NodeTypeSpec = "type_spec"
NodeUnaryExpression = "unary_expression"
NodeUsingDirectiveList = "using_directive_list"
NodeUsingStatement = "using_statement"
NodeVariable = "variable"
NodeVerbatimCommandArgument = "verbatim_command_argument"
NodeVerbatimHereStringCharacters = "verbatim_here_string_characters"
NodeVerbatimStringCharacters = "verbatim_string_characters"
NodeWhileCondition = "while_condition"
NodeWhileStatement = "while_statement"
)
// Field name constants for the powershell grammar.
const (
FieldArgumentExpressionList = "argument_expression_list"
FieldCommandElements = "command_elements"
FieldCommandName = "command_name"
FieldCondition = "condition"
FieldElseClause = "else_clause"
FieldElseifClauses = "elseif_clauses"
FieldForCondition = "for_condition"
FieldForInitializer = "for_initializer"
FieldForIterator = "for_iterator"
FieldNamedBlockList = "named_block_list"
FieldScriptBlockBody = "script_block_body"
FieldStatementList = "statement_list"
FieldStatements = "statements"
FieldValue = "value"
)