Interface IsScope

All Superinterfaces:
All Known Subinterfaces:
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] SomeClass().why.would() Ever()
  • Method Details

    • getName

      String getName()
    • setScopeTarget

      void setScopeTarget(Node target)
    • getScopeTarget

      Node getScopeTarget()
    • getScope

      List<IsScope> getScope()
    • asScopeList

      default List<IsScope> asScopeList()