Class Define

  • All Implemented Interfaces:
    com.sun.tools.rngom.ast.om.ParsedPattern, Iterable<Leaf>
    Direct Known Subclasses:
    Grammar

    public class Define
    extends WriterNode
    A named pattern.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

    • Method Detail

      • isInline

        public boolean isInline()
        Returns true if this define only contains one child (and thus considered inlinable.) A pattern definition is also inlineable if it's the start of the grammar (because "start" isn't a meaningful name)