Interface INode

All Known Implementing Classes:
AllMatch, Annotation, AnonymousObjectCreationExpression, AnyNode, ArrayCreationExpression, ArrayInitializerExpression, ArraySpecifier, AssertStatement, AssignmentChain, AssignmentExpression, AstNode, AstType, AstTypeMatch, BackReference, BinaryOperatorExpression, BlockStatement, BreakStatement, BytecodeConstant, CaseLabel, CastExpression, CatchClause, Choice, ClassOfExpression, Comment, CompilationUnit, ComposedType, ConditionalExpression, ConstructorDeclaration, ContinueStatement, DeclaredVariableBackReference, DoWhileStatement, EmptyStatement, EntityDeclaration, EnumValueDeclaration, Expression, ExpressionStatement, FieldDeclaration, ForEachStatement, ForStatement, GotoStatement, Identifier, IdentifierBackReference, IdentifierExpression, IdentifierExpressionRegexNode, IfElseStatement, ImportDeclaration, IndexerExpression, InlinedBytecodeExpression, InstanceInitializer, InstanceOfExpression, IntersectionType, InvocationExpression, JavaModifierToken, JavaTokenNode, LabeledStatement, LabelStatement, LambdaExpression, LeftmostBinaryOperandNode, LocalTypeDeclarationStatement, MacNewLine, MemberReferenceExpression, MemberReferenceExpressionRegexNode, MemberReferenceTypeNode, MethodDeclaration, MethodGroupExpression, MethodHandlePlaceholder, ModuleDeclaration, NamedNode, NewLineNode, NullReferenceExpression, ObjectCreationExpression, OptionalNode, PackageDeclaration, ParameterDeclaration, ParameterReferenceNode, ParenthesizedExpression, Pattern, PatternExpression, PrimitiveExpression, Repeat, ReturnStatement, SimpleType, SingleOrBinaryAggregateNode, Statement, SubtreeMatch, SuperReferenceExpression, SwitchExpression, SwitchExpressionArm, SwitchSection, SwitchStatement, SynchronizedStatement, TextNode, ThisReferenceExpression, ThrowStatement, TryCatchStatement, TypeDeclaration, TypedExpression, TypedLiteralNode, TypedNode, TypeParameterDeclaration, TypeReferenceExpression, UnaryOperatorExpression, UnionType, UnixNewLine, VariableDeclarationStatement, VariableInitializer, 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)