Interface IsScope

All Superinterfaces:
Node
All Known Subinterfaces:
ChunkerInvokable
All Known Implementing Classes:
AbstractChunkerInvokable, ChunkerArray, ChunkerIdent, ChunkerInvoke, ChunkerNew

public interface IsScope extends Node
A common interface for ChunkerIdent, ChunkerInvoke, ChunkerNew and ChunkerArray which are the only ast nodes that can be "scope objects": thing.field.callMethod()[0].moreMethod.new SomeClass().why.would().you.new Ever()
  • Method Details

    • getName

      String getName()
    • setScopeTarget

      void setScopeTarget(Node target)
    • getScopeTarget

      Node getScopeTarget()
    • getScope

      List<IsScope> getScope()
    • asScopeList

      default List<IsScope> asScopeList()