Class WithScope

java.lang.Object
io.sundr.model.WithScope
All Implemented Interfaces:
Expression, Node, Renderable, WithReferences
Direct Known Subclasses:
Index, MethodCall, PropertyRef

public abstract class WithScope extends Object implements Expression
Abstract class for expressions that have a scope. This allows for generic handling of scoped expressions like PropertyRef, MethodCall, Index, etc.
  • Constructor Details

    • WithScope

      protected WithScope(Expression scope)
  • Method Details

    • getScope

      public Expression getScope()
      Gets the scope expression for this scoped expression.
      Returns:
      the scope expression, or null if unscoped