Class IsTextBase

java.lang.Object
org.ek9lang.compiler.support.IsTextBase
All Implemented Interfaces:
Predicate<IScope>

public final class IsTextBase extends Object implements Predicate<IScope>
THE test of whether a scope is the BASE of a text construct - genus SymbolGenus.TEXT with no LANG squirrelled data (each defines text for "<lang>" block is a locale variant that carries its LANG; see TextFactory). The base is what a developer constructs, Say("fr"), and its locale variants are TextVariantsOf. Use this rather than re-deriving the genus/LANG test. Hold one.
  • Constructor Details

    • IsTextBase

      public IsTextBase()
  • Method Details