Class DGrammarPattern

    • Constructor Detail

      • DGrammarPattern

        public DGrammarPattern()
    • Method Detail

      • getStart

        public DPattern getStart()
        Gets the start pattern.
      • get

        public DDefine get​(String name)
        Gets the named pattern by its name.
        Returns:
        null if not found.
      • isNullable

        public boolean isNullable()
        Description copied from class: DPattern
        Returns true if this pattern is nullable. A nullable pattern is a pattern that can match the empty sequence.
        Specified by:
        isNullable in class DPattern