Interface ExperimentalSyntax

All Superinterfaces:
SyntaxElement

public interface ExperimentalSyntax extends SyntaxElement
A syntax element that requires an experimental feature to be enabled.
  • Method Details

    • isSatisfiedBy

      boolean isSatisfiedBy(ExperimentSet experimentSet)
      Checks whether the required experiments are enabled for this syntax element.
      Parameters:
      experimentSet - An Experiment instance containing currently active experiments in the environment.
      Returns:
      true if the element can be used.