Skip to main content

Crate treesitter_types_java

Crate treesitter_types_java 

Source
Expand description

Strongly-typed AST types for Java, generated from tree-sitter-java’s node-types.json.

Structs§

AnnotatedType
Annotation
AnnotationArgumentList
AnnotationTypeBody
AnnotationTypeDeclaration
AnnotationTypeElementDeclaration
ArgumentList
ArrayAccess
ArrayCreationExpression
ArrayInitializer
ArrayType
AssertStatement
AssignmentExpression
Asterisk
BinaryExpression
BinaryIntegerLiteral
Block
BlockComment
BooleanType
BreakStatement
CastExpression
CatchClause
CatchFormalParameter
CatchType
CharacterLiteral
ClassBody
ClassDeclaration
ClassLiteral
CompactConstructorDeclaration
ConstantDeclaration
ConstructorBody
ConstructorDeclaration
ContinueStatement
DecimalFloatingPointLiteral
DecimalIntegerLiteral
Dimensions
DimensionsExpr
DoStatement
ElementValueArrayInitializer
ElementValuePair
EnhancedForStatement
EnumBody
EnumBodyDeclarations
EnumConstant
EnumDeclaration
EscapeSequence
ExplicitConstructorInvocation
ExportsModuleDirective
ExpressionStatement
ExtendsInterfaces
False
FieldAccess
FieldDeclaration
FinallyClause
FloatingPointType
ForStatement
FormalParameter
FormalParameters
GenericType
Guard
HexFloatingPointLiteral
HexIntegerLiteral
Identifier
IfStatement
ImportDeclaration
InferredParameters
InstanceofExpression
IntegralType
InterfaceBody
InterfaceDeclaration
LabeledStatement
LambdaExpression
LineComment
LocalVariableDeclaration
MarkerAnnotation
MethodDeclaration
MethodInvocation
MethodReference
Modifiers
ModuleBody
ModuleDeclaration
MultilineStringFragment
NullLiteral
ObjectCreationExpression
OctalIntegerLiteral
OpensModuleDirective
PackageDeclaration
ParenthesizedExpression
Pattern
Permits
Program
ProvidesModuleDirective
ReceiverParameter
RecordDeclaration
RecordPattern
RecordPatternBody
RecordPatternComponent
RequiresModifier
RequiresModuleDirective
Resource
ResourceSpecification
ReturnStatement
ScopedIdentifier
ScopedTypeIdentifier
Span
SpreadParameter
StaticInitializer
StringFragment
StringInterpolation
StringLiteral
Super
SuperInterfaces
Superclass
SwitchBlock
SwitchBlockStatementGroup
SwitchExpression
SwitchLabel
SwitchRule
SynchronizedStatement
TemplateExpression
TernaryExpression
This
ThrowStatement
Throws
True
TryStatement
TryWithResourcesStatement
TypeArguments
TypeBound
TypeIdentifier
TypeList
TypeParameter
TypeParameters
TypePattern
UnaryExpression
UnderscorePattern
UpdateExpression
UsesModuleDirective
VariableDeclarator
VoidType
WhileStatement
Wildcard
YieldStatement

Enums§

AnnotatedTypeChildren
AnnotationArgumentListChildren
AnnotationName
AnnotationTypeBodyChildren
AnnotationTypeElementDeclarationValue
AnyNode
ArrayCreationExpressionChildren
ArrayCreationExpressionDimensions
ArrayInitializerChildren
AssignmentExpressionLeft
AssignmentExpressionOperator
BinaryExpressionOperator
CatchFormalParameterChildren
CatchFormalParameterName
ClassBodyChildren
ConstructorBodyChildren
ConstructorDeclarationChildren
Declaration
DimensionsChildren
DimensionsExprChildren
ElementValueArrayInitializerChildren
ElementValuePairValue
EnhancedForStatementName
EnumBodyChildren
EnumBodyDeclarationsChildren
ExplicitConstructorInvocationConstructor
ExportsModuleDirectiveModules
ExportsModuleDirectivePackage
Expression
FieldAccessField
FieldAccessObject
ForStatementInit
FormalParameterName
FormalParametersChildren
GenericTypeChildren
ImportDeclarationChildren
InterfaceBodyChildren
InterfaceDeclarationChildren
LabeledStatementChildren
LambdaExpressionBody
LambdaExpressionParameters
Literal
MarkerAnnotationName
MethodDeclarationChildren
MethodInvocationObject
MethodReferenceChildren
ModifiersChildren
ModuleDeclarationChildren
ModuleDeclarationName
ModuleDirective
ObjectCreationExpressionChildren
OpensModuleDirectiveModules
OpensModuleDirectivePackage
PackageDeclarationChildren
ParseError
PatternChildren
PrimaryExpression
ProgramChildren
ProvidesModuleDirectiveChildren
ProvidesModuleDirectiveProvided
ProvidesModuleDirectiveProvider
ReceiverParameterChildren
RecordPatternBodyChildren
RecordPatternChildren
RecordPatternComponentChildren
RequiresModuleDirectiveModule
ResourceChildren
ResourceName
ScopedIdentifierScope
ScopedTypeIdentifierChildren
SimpleType
SpreadParameterChildren
Statement
StringLiteralChildren
SwitchBlockChildren
SwitchBlockStatementGroupChildren
SwitchLabelChildren
SwitchRuleChildren
TryStatementChildren
TryWithResourcesStatementChildren
Type
TypeArgumentsChildren
TypeParameterChildren
TypePatternChildren
UnannotatedType
UnaryExpressionOperator
UsesModuleDirectiveType
VariableDeclaratorName
VariableDeclaratorValue
WildcardChildren

Traits§

FromNode
Every generated struct and enum implements this.
LeafNode
Implemented by every generated leaf type (identifiers, literals, etc.)
Spanned
Implemented by every generated type that has a source location.