Class ExpandBannedNameTokens

java.lang.Object
org.ek9lang.compiler.support.ExpandBannedNameTokens
All Implemented Interfaces:
Function<String,String>, UnaryOperator<String>

public final class ExpandBannedNameTokens extends Object implements UnaryOperator<String>
THE expansion of the E11031 document tokens: text with NonDescriptiveNames.BANNED_NAMES_TOKEN replaced by NonDescriptiveNames.PROSE and NonDescriptiveNames.ALTERNATIVES_TOKEN by NonDescriptiveNames.ALTERNATIVES - for every loader of a document that publishes the list (rich error messages, message packs, Q&A answers, the CLI/AI help, the site). Null and token-free text come back as given.
  • Constructor Details

    • ExpandBannedNameTokens

      public ExpandBannedNameTokens()
  • Method Details