Enum Tree.Kind
- java.lang.Object
-
- java.lang.Enum<Tree.Kind>
-
- org.sonar.plugins.python.api.tree.Tree.Kind
-
- All Implemented Interfaces:
Serializable,Comparable<Tree.Kind>
- Enclosing interface:
- Tree
public static enum Tree.Kind extends Enum<Tree.Kind>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Tree.KindvalueOf(String name)Returns the enum constant of this type with the specified name.static Tree.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALIASED_NAME
public static final Tree.Kind ALIASED_NAME
-
AS_PATTERN
public static final Tree.Kind AS_PATTERN
-
REGULAR_ARGUMENT
public static final Tree.Kind REGULAR_ARGUMENT
-
ARG_LIST
public static final Tree.Kind ARG_LIST
-
ANNOTATED_ASSIGNMENT
public static final Tree.Kind ANNOTATED_ASSIGNMENT
-
ASSERT_STMT
public static final Tree.Kind ASSERT_STMT
-
ASSIGNMENT_STMT
public static final Tree.Kind ASSIGNMENT_STMT
-
BREAK_STMT
public static final Tree.Kind BREAK_STMT
-
BOOLEAN_LITERAL_PATTERN
public static final Tree.Kind BOOLEAN_LITERAL_PATTERN
-
CALL_EXPR
public static final Tree.Kind CALL_EXPR
-
CAPTURE_PATTERN
public static final Tree.Kind CAPTURE_PATTERN
-
CASE_BLOCK
public static final Tree.Kind CASE_BLOCK
-
CLASSDEF
public static final Tree.Kind CLASSDEF
-
CLASS_PATTERN
public static final Tree.Kind CLASS_PATTERN
-
CONDITIONAL_EXPR
public static final Tree.Kind CONDITIONAL_EXPR
-
CONTINUE_STMT
public static final Tree.Kind CONTINUE_STMT
-
COMPOUND_ASSIGNMENT
public static final Tree.Kind COMPOUND_ASSIGNMENT
-
DICTIONARY_LITERAL
public static final Tree.Kind DICTIONARY_LITERAL
-
DECORATOR
public static final Tree.Kind DECORATOR
-
DEL_STMT
public static final Tree.Kind DEL_STMT
-
DOTTED_NAME
public static final Tree.Kind DOTTED_NAME
-
DOUBLE_STAR_PATTERN
public static final Tree.Kind DOUBLE_STAR_PATTERN
-
ELLIPSIS
public static final Tree.Kind ELLIPSIS
-
ELSE_CLAUSE
public static final Tree.Kind ELSE_CLAUSE
-
EXCEPT_CLAUSE
public static final Tree.Kind EXCEPT_CLAUSE
-
EXEC_STMT
public static final Tree.Kind EXEC_STMT
-
EXPRESSION_LIST
public static final Tree.Kind EXPRESSION_LIST
-
EXPRESSION_STMT
public static final Tree.Kind EXPRESSION_STMT
-
FILE_INPUT
public static final Tree.Kind FILE_INPUT
-
FINALLY_CLAUSE
public static final Tree.Kind FINALLY_CLAUSE
-
FOR_STMT
public static final Tree.Kind FOR_STMT
-
FUNCDEF
public static final Tree.Kind FUNCDEF
-
GLOBAL_STMT
public static final Tree.Kind GLOBAL_STMT
-
GROUP_PATTERN
public static final Tree.Kind GROUP_PATTERN
-
GUARD
public static final Tree.Kind GUARD
-
IF_STMT
public static final Tree.Kind IF_STMT
-
IMPORT_FROM
public static final Tree.Kind IMPORT_FROM
-
IMPORT_NAME
public static final Tree.Kind IMPORT_NAME
-
IMPORT_STMT
public static final Tree.Kind IMPORT_STMT
-
KEYWORD_PATTERN
public static final Tree.Kind KEYWORD_PATTERN
-
LAMBDA
public static final Tree.Kind LAMBDA
-
LIST_LITERAL
public static final Tree.Kind LIST_LITERAL
-
MATCH_STMT
public static final Tree.Kind MATCH_STMT
-
MAPPING_PATTERN
public static final Tree.Kind MAPPING_PATTERN
-
NAME
public static final Tree.Kind NAME
-
NONLOCAL_STMT
public static final Tree.Kind NONLOCAL_STMT
-
NONE
public static final Tree.Kind NONE
-
NONE_LITERAL_PATTERN
public static final Tree.Kind NONE_LITERAL_PATTERN
-
NUMERIC_LITERAL
public static final Tree.Kind NUMERIC_LITERAL
-
NUMERIC_LITERAL_PATTERN
public static final Tree.Kind NUMERIC_LITERAL_PATTERN
-
OR_PATTERN
public static final Tree.Kind OR_PATTERN
-
PASS_STMT
public static final Tree.Kind PASS_STMT
-
PRINT_STMT
public static final Tree.Kind PRINT_STMT
-
QUALIFIED_EXPR
public static final Tree.Kind QUALIFIED_EXPR
-
RAISE_STMT
public static final Tree.Kind RAISE_STMT
-
REPR
public static final Tree.Kind REPR
-
RETURN_STMT
public static final Tree.Kind RETURN_STMT
-
SEQUENCE_PATTERN
public static final Tree.Kind SEQUENCE_PATTERN
-
SET_LITERAL
public static final Tree.Kind SET_LITERAL
-
STATEMENT_LIST
public static final Tree.Kind STATEMENT_LIST
-
STAR_PATTERN
public static final Tree.Kind STAR_PATTERN
-
STRING_LITERAL
public static final Tree.Kind STRING_LITERAL
-
STRING_LITERAL_PATTERN
public static final Tree.Kind STRING_LITERAL_PATTERN
-
STRING_ELEMENT
public static final Tree.Kind STRING_ELEMENT
-
FORMATTED_EXPRESSION
public static final Tree.Kind FORMATTED_EXPRESSION
-
FORMAT_SPECIFIER
public static final Tree.Kind FORMAT_SPECIFIER
-
TRY_STMT
public static final Tree.Kind TRY_STMT
-
PARAMETER
public static final Tree.Kind PARAMETER
-
TUPLE_PARAMETER
public static final Tree.Kind TUPLE_PARAMETER
-
VARIABLE_TYPE_ANNOTATION
public static final Tree.Kind VARIABLE_TYPE_ANNOTATION
-
PARAMETER_TYPE_ANNOTATION
public static final Tree.Kind PARAMETER_TYPE_ANNOTATION
-
RETURN_TYPE_ANNOTATION
public static final Tree.Kind RETURN_TYPE_ANNOTATION
-
PARAMETER_LIST
public static final Tree.Kind PARAMETER_LIST
-
VALUE_PATTERN
public static final Tree.Kind VALUE_PATTERN
-
WHILE_STMT
public static final Tree.Kind WHILE_STMT
-
WILDCARD_PATTERN
public static final Tree.Kind WILDCARD_PATTERN
-
WITH_ITEM
public static final Tree.Kind WITH_ITEM
-
WITH_STMT
public static final Tree.Kind WITH_STMT
-
YIELD_EXPR
public static final Tree.Kind YIELD_EXPR
-
YIELD_STMT
public static final Tree.Kind YIELD_STMT
-
PARENTHESIZED
public static final Tree.Kind PARENTHESIZED
-
UNPACKING_EXPR
public static final Tree.Kind UNPACKING_EXPR
-
AWAIT
public static final Tree.Kind AWAIT
-
TUPLE
public static final Tree.Kind TUPLE
-
DICT_COMPREHENSION
public static final Tree.Kind DICT_COMPREHENSION
-
LIST_COMPREHENSION
public static final Tree.Kind LIST_COMPREHENSION
-
SET_COMPREHENSION
public static final Tree.Kind SET_COMPREHENSION
-
GENERATOR_EXPR
public static final Tree.Kind GENERATOR_EXPR
-
COMP_FOR
public static final Tree.Kind COMP_FOR
-
COMP_IF
public static final Tree.Kind COMP_IF
-
SUBSCRIPTION
public static final Tree.Kind SUBSCRIPTION
-
SLICE_EXPR
public static final Tree.Kind SLICE_EXPR
-
SLICE_LIST
public static final Tree.Kind SLICE_LIST
-
SLICE_ITEM
public static final Tree.Kind SLICE_ITEM
-
PLUS
public static final Tree.Kind PLUS
-
MINUS
public static final Tree.Kind MINUS
-
MULTIPLICATION
public static final Tree.Kind MULTIPLICATION
-
DIVISION
public static final Tree.Kind DIVISION
-
FLOOR_DIVISION
public static final Tree.Kind FLOOR_DIVISION
-
MODULO
public static final Tree.Kind MODULO
-
MATRIX_MULTIPLICATION
public static final Tree.Kind MATRIX_MULTIPLICATION
-
SHIFT_EXPR
public static final Tree.Kind SHIFT_EXPR
-
BITWISE_AND
public static final Tree.Kind BITWISE_AND
-
BITWISE_OR
public static final Tree.Kind BITWISE_OR
-
BITWISE_XOR
public static final Tree.Kind BITWISE_XOR
-
AND
public static final Tree.Kind AND
-
OR
public static final Tree.Kind OR
-
COMPARISON
public static final Tree.Kind COMPARISON
-
POWER
public static final Tree.Kind POWER
-
IN
public static final Tree.Kind IN
-
IS
public static final Tree.Kind IS
-
UNARY_PLUS
public static final Tree.Kind UNARY_PLUS
-
UNARY_MINUS
public static final Tree.Kind UNARY_MINUS
-
BITWISE_COMPLEMENT
public static final Tree.Kind BITWISE_COMPLEMENT
-
NOT
public static final Tree.Kind NOT
-
ASSIGNMENT_EXPRESSION
public static final Tree.Kind ASSIGNMENT_EXPRESSION
-
KEY_VALUE_PAIR
public static final Tree.Kind KEY_VALUE_PAIR
-
KEY_VALUE_PATTERN
public static final Tree.Kind KEY_VALUE_PATTERN
-
TOKEN
public static final Tree.Kind TOKEN
-
-
Method Detail
-
values
public static Tree.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Tree.Kind c : Tree.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Tree.Kind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-