c

core.bigrammar.grammars

StringGrammar

abstract class StringGrammar extends CustomGrammarWithoutChildren with BiGrammarWithoutChildren

Takes a grammar for parsing, and uses toString for printing. so the result of the grammar is exactly what has been consumed. verifyWhenPrinting When printing, make sure the string to print can be consumed by the grammar.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringGrammar
  2. BiGrammarWithoutChildren
  3. CustomGrammarWithoutChildren
  4. Printer
  5. BiGrammar
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StringGrammar(verifyWhenPrinting: Boolean = false)

Abstract Value Members

  1. abstract def getParserBuilder(keywords: Set[String]): BiGrammarToParser.Parser[Any]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def children: Seq[BiGrammar]
    Definition Classes
    BiGrammarWithoutChildrenBiGrammar
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def containsParser(recursive: (BiGrammar) => Boolean): Boolean
    Definition Classes
    StringGrammarBiGrammar
  8. def containsParser(): Boolean
    Definition Classes
    BiGrammar
  9. def deepClone: BiGrammar
    Definition Classes
    BiGrammar
  10. def deepMap(function: (BiGrammar) => BiGrammar): BiGrammar
    Definition Classes
    BiGrammar
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def flattenOptionSeq: BiGrammar
    Definition Classes
    BiGrammar
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def getLeftChildren(recursive: (BiGrammar) => Seq[BiGrammar]): Seq[BiGrammar]
    Attributes
    protected
    Definition Classes
    BiGrammar
  16. def getLeftChildren: Seq[BiGrammar]
    Definition Classes
    BiGrammar
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. lazy val height: Int
    Definition Classes
    BiGrammar
  19. def indent(width: Int = 2): BiGrammar
    Definition Classes
    BiGrammar
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isLeftRecursive: Boolean
    Definition Classes
    BiGrammar
  22. def map(function: (ResponsiveDocument) => ResponsiveDocument): Printer[Any]
    Definition Classes
    Printer
  23. def map[T, U](afterParsing: (T) => U, beforePrinting: (U) => T)(implicit arg0: ClassTag[U]): BiGrammar
    Definition Classes
    BiGrammar
  24. def mapSome[T, U](afterParsing: (T) => U, beforePrinting: (U) => Option[T])(implicit arg0: ClassTag[U]): BiGrammar
    Definition Classes
    BiGrammar
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def option: BiGrammar
    Definition Classes
    BiGrammar
  29. def optionToSeq: BiGrammar
    Definition Classes
    BiGrammar
  30. lazy val parser: SingleResultParser[Any]
  31. def selfAndDescendants: Seq[BiGrammar]
    Definition Classes
    BiGrammar
  32. def seqToSet: BiGrammar
    Definition Classes
    BiGrammar
  33. def setValue[T](value: T)(implicit arg0: ClassTag[T]): BiGrammar
    Definition Classes
    BiGrammar
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    BiGrammar → AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. def withChildren(newChildren: Seq[BiGrammar]): BiGrammarWithoutChildren
    Definition Classes
    BiGrammarWithoutChildrenBiGrammar
  40. def write(from: WithMap[Any]): TryState[ResponsiveDocument]
    Definition Classes
    StringGrammarPrinter
  41. def |(other: BiGrammar): BiChoice
    Definition Classes
    BiGrammar

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Printer[Any]

Inherited from BiGrammar

Inherited from AnyRef

Inherited from Any

Ungrouped