Class PlainTextLanguage

  • All Implemented Interfaces:
    Comparable<Language>, Language

    public final class PlainTextLanguage
    extends SimpleLanguageModuleBase
    A dummy language implementation whose parser produces a single node. This is provided for cases where a non-null language is required, but the parser is not useful. This is useful eg to mock rules when no other language is on the classpath. This language is not exposed by LanguageRegistry and can only be used explicitly with getInstance().
    Clément Fournier
    • Method Detail

      • getInstance

        public static Language getInstance()
        Returns the singleton instance of this language.