c

raw.compiler.rql2

SyntaxAnalyzer

class SyntaxAnalyzer extends Parsers with base.SyntaxAnalyzer with Keywords

FrontendSyntaxAnalyzer - for user code.

- Must be fast. - Must not contain internal nodes. - Must not contain internal types (e.g. types from common).

Linear Supertypes
Keywords, base.SyntaxAnalyzer, StrictLogging, base.Keywords, Parsers, VectorRepetitionParsers, ParsersBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SyntaxAnalyzer
  2. Keywords
  3. SyntaxAnalyzer
  4. StrictLogging
  5. Keywords
  6. Parsers
  7. VectorRepetitionParsers
  8. ParsersBase
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SyntaxAnalyzer(positions: Positions)

Type Members

  1. sealed abstract class Answer[T] extends AnyRef
    Definition Classes
    ParsersBase
  2. trait CCOps[CC[_] <: Seq[_]] extends AnyRef
    Definition Classes
    ParsersBase
  3. case class Head extends Product with Serializable
    Definition Classes
    ParsersBase
  4. case class LR[T] extends Answer[T] with Product with Serializable
    Definition Classes
    ParsersBase
  5. class Marker extends AnyRef
    Definition Classes
    ParsersBase
  6. class PackratParser[T] extends Parser[T] with Rule
    Definition Classes
    ParsersBase
  7. abstract class Parser[+T] extends (Input) ⇒ ParseResult[T]
    Definition Classes
    ParsersBase
  8. implicit class PostfixParserCombinators[T] extends AnyRef
    Definition Classes
    VectorRepetitionParsers
  9. case class Resolution[T] extends Answer[T] with Product with Serializable
    Definition Classes
    ParsersBase
  10. trait Rule extends AnyRef
    Definition Classes
    ParsersBase
  11. case class ~[+T, +U] extends Product with Serializable
    Definition Classes
    ParsersBase

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. def Parser[T](f: (Input) ⇒ ParseResult[T]): Parser[T]
    Definition Classes
    ParsersBase
  5. def any: Parser[Char]
    Definition Classes
    ParsersBase
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. final lazy val attr: Parser[ParsedAttributed]
    Attributes
    protected
  8. final lazy val attrType: Parser[Rql2AttrType]
    Attributes
    protected
  9. final lazy val binaryType: Parser[Rql2BinaryType]
    Attributes
    protected
  10. final lazy val boolConst: Parser[BoolConst]
    Attributes
    protected
  11. final lazy val boolType: Parser[Rql2BoolType]
    Attributes
    protected
  12. final lazy val byteType: Parser[Rql2ByteType]
    Attributes
    protected
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  14. def commit[U](p: ⇒ Parser[U]): Parser[U]
    Definition Classes
    ParsersBase
  15. implicit def constToTupleFunction2[A, B, X](x: (A, B) ⇒ X): (~[A, B]) ⇒ X
    Definition Classes
    ParsersBase
  16. implicit def constToTupleFunction3[A, B, C, X](x: (A, B, C) ⇒ X): (~[~[A, B], C]) ⇒ X
    Definition Classes
    ParsersBase
  17. implicit def constToTupleFunction4[A, B, C, D, X](x: (A, B, C, D) ⇒ X): (~[~[~[A, B], C], D]) ⇒ X
    Definition Classes
    ParsersBase
  18. implicit def constToTupleFunction5[A, B, C, D, E, X](x: (A, B, C, D, E) ⇒ X): (~[~[~[~[A, B], C], D], E]) ⇒ X
    Definition Classes
    ParsersBase
  19. implicit def constToTupleFunction6[A, B, C, D, E, F, X](x: (A, B, C, D, E, F) ⇒ X): (~[~[~[~[~[A, B], C], D], E], F]) ⇒ X
    Definition Classes
    ParsersBase
  20. lazy val constrainedInt: Parser[Int]
    Definition Classes
    ParsersBase
  21. final lazy val dateType: Parser[Rql2DateType]
    Attributes
    protected
  22. final lazy val decimalType: Parser[Rql2DecimalType]
    Attributes
    protected
  23. final lazy val doubleType: Parser[Rql2DoubleType]
    Attributes
    protected
  24. def elem(message: String, p: (Char) ⇒ Boolean): Parser[Char]
    Definition Classes
    ParsersBase
  25. def elem(ch: Char): Parser[Char]
    Definition Classes
    ParsersBase
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  28. def error(message: String): Parser[Nothing]
    Definition Classes
    ParsersBase
  29. final lazy val errorType: Parser[ErrorType]
    Attributes
    protected
  30. final lazy val escapedIdent: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  31. final lazy val exp: PackratParser[Exp]
    Attributes
    protected
  32. def exp8: PackratParser[Exp]
    Attributes
    protected
  33. final lazy val expType: Parser[ExpType]
    Attributes
    protected
  34. def failure(message: String): Parser[Nothing]
    Definition Classes
    ParsersBase
  35. final lazy val floatType: Parser[Rql2FloatType]
    Attributes
    protected
  36. final lazy val funAbs: Parser[FunAbs]
    Attributes
    protected
  37. final lazy val funAppArg: Parser[FunAppArg]
    Attributes
    protected
  38. final lazy val funType: PackratParser[FunType]
    Attributes
    protected
  39. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  40. def grep[T, CC[_] <: Seq[_]](p: ⇒ Parser[T])(ops: CCOps[CC]): Parser[CC[T]]
    Definition Classes
    ParsersBase
  41. def grep1[T, CC[_] <: Seq[_]](p: ⇒ Parser[T])(ops: CCOps[CC]): Parser[CC[T]]
    Definition Classes
    ParsersBase
  42. def grep1sep[T, CC[_] <: Seq[_]](p: ⇒ Parser[T], q: ⇒ Parser[Any])(ops: CCOps[CC]): Parser[CC[T]]
    Definition Classes
    ParsersBase
  43. def grepsep[T, CC[_] <: Seq[_]](p: ⇒ Parser[T], q: ⇒ Parser[Any])(ops: CCOps[CC]): Parser[CC[T]]
    Definition Classes
    ParsersBase
  44. def guard[T](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    ParsersBase
  45. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  46. var heads: HashMap[Input, Head]
    Definition Classes
    ParsersBase
  47. final lazy val ident: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  48. final lazy val identDef: Parser[String]
    Attributes
    protected
  49. final lazy val idnDef: Parser[IdnDef]
    Attributes
    protected
  50. final lazy val idnExp: Parser[IdnExp]
    Attributes
    protected
  51. final lazy val idnUse: Parser[IdnUse]
    Attributes
    protected
  52. def ifThenElse: Parser[IfThenElse]
    Attributes
    protected
  53. final lazy val intType: Parser[Rql2IntType]
    Attributes
    protected
  54. final lazy val intervalType: Parser[Rql2IntervalType]
    Attributes
    protected
  55. final def isFloat(s: String): Option[Float]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  56. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  57. final def isInt(s: String): Option[Int]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  58. final def isLong(s: String): Option[Long]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  59. def isReserved(idn: String): Boolean
    Definition Classes
    KeywordsKeywords
  60. def isReservedType(idn: String): Boolean
    Definition Classes
    KeywordsKeywords
  61. final lazy val iterableType: Parser[Rql2IterableType]
    Attributes
    protected
  62. def keywords(ext: Regex, kws: List[String]): Parser[String]
    Definition Classes
    ParsersBase
  63. lazy val latestNoSuccess: DynamicVariable[Option[NoSuccess]]
    Definition Classes
    ParsersBase
  64. def let: Parser[Let]
    Attributes
    protected
  65. final lazy val letDecl: Parser[LetDecl]
    Attributes
    protected
  66. final lazy val listType: Parser[Rql2ListType]
    Attributes
    protected
  67. lazy val lists: Parser[Exp]
    Attributes
    protected
  68. implicit def literal(s: String): Parser[String]
    Definition Classes
    ParsersBase
  69. final lazy val locationType: Parser[Rql2LocationType]
    Attributes
    protected
  70. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  71. final lazy val longType: Parser[Rql2LongType]
    Attributes
    protected
  72. def mark[T](p: ⇒ Parser[String]): Parser[Marker]
    Definition Classes
    ParsersBase
  73. implicit def memo[T](parser: ⇒ Parser[T]): PackratParser[T]
    Definition Classes
    ParsersBase
  74. final def method1[T](kw: Regex, p1: ⇒ Parser[T]): Parser[T]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  75. final def method1[T](kw: String, p1: ⇒ Parser[T]): Parser[T]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  76. final def method2[T, U](kw: Regex, p1: ⇒ Parser[T], p2: ⇒ Parser[U]): Parser[~[T, U]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  77. final def method2[T, U](kw: String, p1: ⇒ Parser[T], p2: ⇒ Parser[U]): Parser[~[T, U]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  78. final def method3[T, U, V](kw: Regex, p1: ⇒ Parser[T], p2: ⇒ Parser[U], p3: ⇒ Parser[V]): Parser[~[~[T, U], V]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  79. final def method3[T, U, V](kw: String, p1: ⇒ Parser[T], p2: ⇒ Parser[U], p3: ⇒ Parser[V]): Parser[~[~[T, U], V]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  80. final def method4[T, U, V, W](kw: Regex, p1: ⇒ Parser[T], p2: ⇒ Parser[U], p3: ⇒ Parser[V], p4: ⇒ Parser[W]): Parser[~[~[~[T, U], V], W]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  81. final def method4[T, U, V, W](kw: String, p1: ⇒ Parser[T], p2: ⇒ Parser[U], p3: ⇒ Parser[V], p4: ⇒ Parser[W]): Parser[~[~[~[T, U], V], W]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  82. final def method5[T, U, V, W, X](kw: Regex, p1: ⇒ Parser[T], p2: ⇒ Parser[U], p3: ⇒ Parser[V], p4: ⇒ Parser[W], p5: ⇒ Parser[X]): Parser[~[~[~[~[T, U], V], W], X]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  83. final def method5[T, U, V, W, X](kw: String, p1: ⇒ Parser[T], p2: ⇒ Parser[U], p3: ⇒ Parser[V], p4: ⇒ Parser[W], p5: ⇒ Parser[X]): Parser[~[~[~[~[T, U], V], W], X]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  84. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  85. def nocut[T](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    ParsersBase
  86. def not[T](p: ⇒ Parser[T]): Parser[Unit]
    Definition Classes
    ParsersBase
  87. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  88. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  89. final lazy val nullConst: Parser[NullConst]
    Attributes
    protected
  90. final lazy val numberConst: Parser[NumberConst]
    Attributes
    protected
  91. final lazy val numberType: Parser[Rql2NumberType]
    Attributes
    protected
  92. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]
    Definition Classes
    ParsersBase
  93. lazy val orType: PackratParser[Type]
    Attributes
    protected
  94. final lazy val packageEntryType: Parser[PackageEntryType]
    Attributes
    protected
  95. final lazy val packageType: Parser[PackageType]
    Attributes
    protected
  96. def parse(s: String): Either[(String, Position), BaseProgram]
    Definition Classes
    SyntaxAnalyzer
  97. def parse[T](p: Parser[T], source: Source): ParseResult[T]
    Definition Classes
    ParsersBase
  98. def parseAll[T](p: Parser[T], source: Source): ParseResult[T]
    Definition Classes
    ParsersBase
  99. final def parseBetween(special: String): Parser[String]

    A parser that matches all text between two occurrences of 'special' string.

    A parser that matches all text between two occurrences of 'special' string. For instance, if special is set $$$ then the following text: hello $$$ this is a test $$$ Will parse as: this is a test

    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  100. implicit def parseResultToTuple2[A, B](p: Parser[~[A, B]]): Parser[(A, B)]
    Definition Classes
    ParsersBase
  101. implicit def parseResultToTuple3[A, B, C](p: Parser[~[~[A, B], C]]): Parser[(A, B, C)]
    Definition Classes
    ParsersBase
  102. implicit def parseResultToTuple4[A, B, C, D](p: Parser[~[~[~[A, B], C], D]]): Parser[(A, B, C, D)]
    Definition Classes
    ParsersBase
  103. implicit def parseResultToTuple5[A, B, C, D, E](p: Parser[~[~[~[~[A, B], C], D], E]]): Parser[(A, B, C, D, E)]
    Definition Classes
    ParsersBase
  104. implicit def parseResultToTuple6[A, B, C, D, E, F](p: Parser[~[~[~[~[~[A, B], C], D], E], F]]): Parser[(A, B, C, D, E, F)]
    Definition Classes
    ParsersBase
  105. def parseType(s: String): Either[(String, Position), Type]
    Definition Classes
    SyntaxAnalyzer
  106. final def parseUntil(special: String): Parser[String]

    Similar to parseBetween but parses until the occurrence of the 'special' string.

    Similar to parseBetween but parses until the occurrence of the 'special' string.

    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  107. def parseWhitespace(in: Input): ParseResult[Any]
    Definition Classes
    ParsersBase
  108. var parsingWhitespace: Boolean
    Definition Classes
    ParsersBase
  109. def phrase[T](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    ParsersBase
  110. val positions: Positions
    Definition Classes
    SyntaxAnalyzerSyntaxAnalyzer
  111. final lazy val primitiveType: Parser[Rql2PrimitiveType]
    Attributes
    protected
  112. lazy val program: Parser[BaseProgram]
    Definition Classes
    SyntaxAnalyzerSyntaxAnalyzer
  113. final lazy val recordType: Parser[Rql2RecordType]
    Attributes
    protected
  114. lazy val records: Parser[Exp]
    Attributes
    protected
  115. implicit def regex(r: Regex): Parser[String]
    Definition Classes
    SyntaxAnalyzer
  116. def rep[T](p: ⇒ Parser[T]): Parser[Vector[T]]
    Definition Classes
    VectorRepetitionParsers
  117. def rep1[T](p: ⇒ Parser[T]): Parser[Vector[T]]
    Definition Classes
    VectorRepetitionParsers
  118. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[Vector[T]]
    Definition Classes
    VectorRepetitionParsers
  119. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[Vector[T]]
    Definition Classes
    VectorRepetitionParsers
  120. final lazy val rql2Method: Parser[Rql2Method]
    Attributes
    protected
  121. def runParser[T](s: String, p: Parser[T]): Either[(String, Position), T]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  122. final lazy val shortType: Parser[Rql2ShortType]
    Attributes
    protected
  123. final lazy val singleQuoteStringLit: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  124. final lazy val stringConst: Parser[StringConst]
    Attributes
    protected
  125. final lazy val stringLit: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  126. final lazy val stringLitEscaped: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  127. def stringToInt(s: String): Either[Int, String]
    Definition Classes
    ParsersBase
  128. final lazy val stringType: Parser[Rql2StringType]
    Attributes
    protected
  129. def success[T](v: ⇒ T): Parser[T]
    Definition Classes
    ParsersBase
  130. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  131. final lazy val temporalType: Parser[Rql2TemporalType]
    Attributes
    protected
  132. final lazy val timeType: Parser[Rql2TimeType]
    Attributes
    protected
  133. final lazy val timestampType: Parser[Rql2TimestampType]
    Attributes
    protected
  134. final lazy val tipe: Parser[Type]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzerSyntaxAnalyzer
  135. def toString(): String
    Definition Classes
    AnyRef → Any
  136. final lazy val tripleQStringConst: Parser[TripleQuotedStringConst]
    Attributes
    protected
  137. final lazy val tripleQuoteStringLit: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  138. final lazy val typeAliasType: Parser[TypeAliasType]
    Attributes
    protected
  139. final lazy val typeExp: Parser[TypeExp]
    Attributes
    protected
  140. final lazy val typeIdnUse: Parser[IdnUse]
    Attributes
    protected
  141. final lazy val undefinedType: Parser[Rql2UndefinedType]
    Attributes
    protected
  142. def updateLatestNoSuccess[T](res: NoSuccess): ParseResult[T]
    Definition Classes
    ParsersBase
  143. final def vectorOf[T](p: ⇒ Parser[T]): Parser[Vector[T]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  144. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  145. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  146. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  147. final lazy val whitespace: PackratParser[String]
    Definition Classes
    SyntaxAnalyzer
  148. def wrap[T, U](p: ⇒ Parser[T], f: (T) ⇒ Either[U, String]): Parser[U]
    Definition Classes
    ParsersBase

Deprecated Value Members

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

Inherited from Keywords

Inherited from base.SyntaxAnalyzer

Inherited from StrictLogging

Inherited from base.Keywords

Inherited from Parsers

Inherited from VectorRepetitionParsers

Inherited from ParsersBase

Inherited from AnyRef

Inherited from Any

Ungrouped