Class IXMLGrammar.Term

java.lang.Object
org.libxmq.imp.ixml.IXMLGrammar.Term
Enclosing class:
IXMLGrammar

public static final class IXMLGrammar.Term extends Object
A term: a call of a rule (ref), a character set (chars), an insertion or a not.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The called rule, the inserted text, the mark (^ @ - or empty) and the alias.
    The code points this term matches.
    How the chars are written in the grammar, eg 'a' for a character of a string or ['a'-'z'; #a] for a character set, the same as the C version writes them.
    The called rule, the inserted text, the mark (^ @ - or empty) and the alias.
    The called rule, the inserted text, the mark (^ @ - or empty) and the alias.
    A negative lookahead !'
    The called rule, the inserted text, the mark (^ @ - or empty) and the alias.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Construct with default field values.
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ref

      public String ref
      The called rule, the inserted text, the mark (^ @ - or empty) and the alias.
    • insertion

      public String insertion
      The called rule, the inserted text, the mark (^ @ - or empty) and the alias.
    • mark

      public String mark
      The called rule, the inserted text, the mark (^ @ - or empty) and the alias.
    • alias

      public String alias
      The called rule, the inserted text, the mark (^ @ - or empty) and the alias.
    • chars

      public BitSet chars
      The code points this term matches.
    • chars_text

      public String chars_text
      How the chars are written in the grammar, eg 'a' for a character of a string or ['a'-'z'; #a] for a character set, the same as the C version writes them.
    • not

      public List<BitSet> not
      A negative lookahead !'abc' or ![set]: the following input must not start with a code point sequence matching these sets in order.
  • Constructor Details

    • Term

      public Term()
      Construct with default field values.