Class EmptyExpression

All Implemented Interfaces:
GroovydocHolder<AnnotatedNode>, NodeMetaDataHandler

public class EmptyExpression extends Expression
Placeholder for an empty expression. Empty expressions are used in closures lists like (;). During class generation empty expressions should be ignored or replaced with a null value.
See Also:
  • Field Details

    • INSTANCE

      public static final EmptyExpression INSTANCE
      Immutable singleton that is recommended for use when source range or any other occurrence-specific metadata is not needed.
  • Constructor Details

    • EmptyExpression

      public EmptyExpression()
      See Also:
  • Method Details