Interface INode

All Known Implementing Classes:
AllMatch, Annotation, AnonymousObjectCreationExpression, AnyNode, ArrayCreationExpression, ArrayInitializerExpression, ArrayInitializerExpression.NullArrayInitializerExpression, ArraySpecifier, AssertStatement, AssignmentChain, AssignmentExpression, AstNode, AstNode.NullAstNode, AstNode.PatternPlaceholder, AstType, AstType.NullAstType, AstType.PatternPlaceholder, AstTypeMatch, BackReference, BinaryOperatorExpression, BlockStatement, BlockStatement.NullBlockStatement, BlockStatement.PatternPlaceholder, BreakStatement, BytecodeConstant, BytecodeConstant.NullMetadata, CaseLabel, CastExpression, CatchClause, CatchClause.NullCatchClause, CatchClause.PatternPlaceholder, Choice, ClassOfExpression, Comment, CommentStatement, CompilationUnit, ComposedType, ConditionalExpression, ConstructorDeclaration, ContinueStatement, DeclaredVariableBackReference, DoWhileStatement, EmptyStatement, EntityDeclaration, EnumValueDeclaration, Expression, Expression.NullExpression, Expression.PatternPlaceholder, ExpressionStatement, FieldDeclaration, ForEachStatement, ForStatement, GotoStatement, Identifier, Identifier.NullIdentifier, IdentifierBackReference, IdentifierExpression, IdentifierExpressionRegexNode, IfElseStatement, ImportDeclaration, ImportDeclaration.NullImportDeclaration, IndexerExpression, InlinedBytecodeExpression, InlinedBytecodeExpression.NullInlinedBytecodeExpression, InstanceInitializer, InstanceOfExpression, IntersectionType, InvocationExpression, JavaModifierToken, JavaTokenNode, JavaTokenNode.NullJavaTokenNode, LabeledStatement, LabelStatement, LambdaExpression, LeftmostBinaryOperandNode, LocalTypeDeclarationStatement, MacNewLine, MemberReferenceExpression, MemberReferenceExpressionRegexNode, MemberReferenceTypeNode, MethodDeclaration, MethodDeclaration.PatternPlaceholder, MethodGroupExpression, MethodHandlePlaceholder, ModuleDeclaration, ModuleDeclaration.NullModuleDeclaration, NamedNode, NewLineNode, NullReferenceExpression, ObjectCreationExpression, OptionalNode, PackageDeclaration, PackageDeclaration.NullPackageDeclaration, ParameterDeclaration, ParameterDeclaration.PatternPlaceholder, ParameterReferenceNode, ParenthesizedExpression, Pattern, PatternExpression, PrimitiveExpression, Repeat, ReturnStatement, SimpleType, SingleOrBinaryAggregateNode, Statement, Statement.NullStatement, Statement.PatternPlaceholder, SubtreeMatch, SuperReferenceExpression, SwitchExpression, SwitchExpression.NullSwitchExpression, SwitchExpressionArm, SwitchExpressionArm.NullSwitchExpressionArm, SwitchSection, SwitchStatement, SynchronizedStatement, TextNode, ThisReferenceExpression, ThrowStatement, TryCatchStatement, TypeDeclaration, TypeDeclaration.NullTypeDeclaration, TypedExpression, TypedLiteralNode, TypedNode, TypeParameterDeclaration, TypeReferenceExpression, UnaryOperatorExpression, UnionType, UnixNewLine, VariableDeclarationStatement, VariableInitializer, VariableInitializer.NullVariableInitializer, VariableInitializer.PatternPlaceholder, WhileStatement, WildcardType, WindowsNewLine

public interface INode
  • Field Details

  • Method Details

    • isNull

      boolean isNull()
    • getRole

      Role<?> getRole()
    • getFirstChild

      INode getFirstChild()
    • getNextSibling

      INode getNextSibling()
    • matches

      boolean matches(INode other, Match match)
    • matchesCollection

      boolean matchesCollection(Role<?> role, INode position, Match match, BacktrackingInfo backtrackingInfo)
    • match

      Match match(INode other)
    • matches

      boolean matches(INode other)