c

raw.compiler.rql2

FrontendSyntaxAnalyzer

class FrontendSyntaxAnalyzer 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. FrontendSyntaxAnalyzer
  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 FrontendSyntaxAnalyzer(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. def baseExp: PackratParser[Exp]
    Attributes
    protected
  10. def baseType: Parser[Type]
    Attributes
    protected
  11. final lazy val baseTypeAttr: Parser[Type]
    Attributes
    protected
  12. final lazy val binaryType: Parser[Rql2BinaryType]
    Attributes
    protected
  13. final lazy val boolConst: Parser[BoolConst]
    Attributes
    protected
  14. final lazy val boolType: Parser[Rql2BoolType]
    Attributes
    protected
  15. final lazy val byteType: Parser[Rql2ByteType]
    Attributes
    protected
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  17. def commit[U](p: ⇒ Parser[U]): Parser[U]
    Definition Classes
    ParsersBase
  18. implicit def constToTupleFunction2[A, B, X](x: (A, B) ⇒ X): (~[A, B]) ⇒ X
    Definition Classes
    ParsersBase
  19. implicit def constToTupleFunction3[A, B, C, X](x: (A, B, C) ⇒ X): (~[~[A, B], C]) ⇒ X
    Definition Classes
    ParsersBase
  20. implicit def constToTupleFunction4[A, B, C, D, X](x: (A, B, C, D) ⇒ X): (~[~[~[A, B], C], D]) ⇒ X
    Definition Classes
    ParsersBase
  21. 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
  22. 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
  23. lazy val constrainedInt: Parser[Int]
    Definition Classes
    ParsersBase
  24. final lazy val dateType: Parser[Rql2DateType]
    Attributes
    protected
  25. final lazy val decimalType: Parser[Rql2DecimalType]
    Attributes
    protected
  26. final lazy val doubleType: Parser[Rql2DoubleType]
    Attributes
    protected
  27. def elem(message: String, p: (Char) ⇒ Boolean): Parser[Char]
    Definition Classes
    ParsersBase
  28. def elem(ch: Char): Parser[Char]
    Definition Classes
    ParsersBase
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  31. def error(message: String): Parser[Nothing]
    Definition Classes
    ParsersBase
  32. final lazy val escapedIdent: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  33. final lazy val exp: PackratParser[Exp]
    Attributes
    protected
  34. def exp8: PackratParser[Exp]
    Attributes
    protected
  35. final lazy val expType: Parser[ExpType]
    Attributes
    protected
  36. def failure(message: String): Parser[Nothing]
    Definition Classes
    ParsersBase
  37. final lazy val floatType: Parser[Rql2FloatType]
    Attributes
    protected
  38. final lazy val funAbs: Parser[FunAbs]
    Attributes
    protected
  39. final lazy val funAppArg: Parser[FunAppArg]
    Attributes
    protected
  40. final lazy val funOptTypeParam: Parser[FunOptTypeParam]
    Attributes
    protected
  41. final lazy val funType: PackratParser[FunType]
    Attributes
    protected
  42. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  43. def grep[T, CC[_] <: Seq[_]](p: ⇒ Parser[T])(ops: CCOps[CC]): Parser[CC[T]]
    Definition Classes
    ParsersBase
  44. def grep1[T, CC[_] <: Seq[_]](p: ⇒ Parser[T])(ops: CCOps[CC]): Parser[CC[T]]
    Definition Classes
    ParsersBase
  45. def grep1sep[T, CC[_] <: Seq[_]](p: ⇒ Parser[T], q: ⇒ Parser[Any])(ops: CCOps[CC]): Parser[CC[T]]
    Definition Classes
    ParsersBase
  46. def grepsep[T, CC[_] <: Seq[_]](p: ⇒ Parser[T], q: ⇒ Parser[Any])(ops: CCOps[CC]): Parser[CC[T]]
    Definition Classes
    ParsersBase
  47. def guard[T](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    ParsersBase
  48. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  49. var heads: HashMap[Input, Head]
    Definition Classes
    ParsersBase
  50. final lazy val ident: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  51. final lazy val identDef: Parser[String]
    Attributes
    protected
  52. final lazy val idnDef: Parser[IdnDef]
    Attributes
    protected
  53. final lazy val idnExp: Parser[IdnExp]
    Attributes
    protected
  54. final lazy val idnUse: Parser[IdnUse]
    Attributes
    protected
  55. def ifThenElse: Parser[IfThenElse]
    Attributes
    protected
  56. final lazy val intType: Parser[Rql2IntType]
    Attributes
    protected
  57. final lazy val intervalType: Parser[Rql2IntervalType]
    Attributes
    protected
  58. final def isFloat(s: String): Option[Float]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  59. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  60. final def isInt(s: String): Option[Int]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  61. final def isLong(s: String): Option[Long]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  62. def isReserved(idn: String): Boolean
    Definition Classes
    KeywordsKeywords
  63. def isReservedType(idn: String): Boolean
    Definition Classes
    KeywordsKeywords
  64. final lazy val iterableType: Parser[Rql2IterableType]
    Attributes
    protected
  65. def keywords(ext: Regex, kws: List[String]): Parser[String]
    Definition Classes
    ParsersBase
  66. lazy val latestNoSuccess: DynamicVariable[Option[NoSuccess]]
    Definition Classes
    ParsersBase
  67. def let: Parser[Let]
    Attributes
    protected
  68. final lazy val letDecl: Parser[LetDecl]
    Attributes
    protected
  69. final lazy val listType: Parser[Rql2ListType]
    Attributes
    protected
  70. lazy val lists: Parser[Exp]
    Attributes
    protected
  71. implicit def literal(s: String): Parser[String]
    Definition Classes
    ParsersBase
  72. final lazy val locationType: Parser[Rql2LocationType]
    Attributes
    protected
  73. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  74. final lazy val longType: Parser[Rql2LongType]
    Attributes
    protected
  75. def mark[T](p: ⇒ Parser[String]): Parser[Marker]
    Definition Classes
    ParsersBase
  76. implicit def memo[T](parser: ⇒ Parser[T]): PackratParser[T]
    Definition Classes
    ParsersBase
  77. final def method1[T](kw: Regex, p1: ⇒ Parser[T]): Parser[T]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  78. final def method1[T](kw: String, p1: ⇒ Parser[T]): Parser[T]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  79. final def method2[T, U](kw: Regex, p1: ⇒ Parser[T], p2: ⇒ Parser[U]): Parser[~[T, U]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  80. final def method2[T, U](kw: String, p1: ⇒ Parser[T], p2: ⇒ Parser[U]): Parser[~[T, U]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  88. def nocut[T](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    ParsersBase
  89. def not[T](p: ⇒ Parser[T]): Parser[Unit]
    Definition Classes
    ParsersBase
  90. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  91. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  92. final lazy val nullConst: Parser[NullConst]
    Attributes
    protected
  93. final lazy val numberConst: Parser[NumberConst]
    Attributes
    protected
  94. final lazy val numberType: Parser[Rql2NumberType]
    Attributes
    protected
  95. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]
    Definition Classes
    ParsersBase
  96. final lazy val packageEntryType: Parser[PackageEntryType]
    Attributes
    protected
  97. final lazy val packageType: Parser[PackageType]
    Attributes
    protected
  98. def parse(s: String): Either[(String, Position), BaseProgram]
    Definition Classes
    SyntaxAnalyzer
  99. def parse[T](p: Parser[T], source: Source): ParseResult[T]
    Definition Classes
    ParsersBase
  100. def parseAll[T](p: Parser[T], source: Source): ParseResult[T]
    Definition Classes
    ParsersBase
  101. 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
  102. implicit def parseResultToTuple2[A, B](p: Parser[~[A, B]]): Parser[(A, B)]
    Definition Classes
    ParsersBase
  103. implicit def parseResultToTuple3[A, B, C](p: Parser[~[~[A, B], C]]): Parser[(A, B, C)]
    Definition Classes
    ParsersBase
  104. implicit def parseResultToTuple4[A, B, C, D](p: Parser[~[~[~[A, B], C], D]]): Parser[(A, B, C, D)]
    Definition Classes
    ParsersBase
  105. implicit def parseResultToTuple5[A, B, C, D, E](p: Parser[~[~[~[~[A, B], C], D], E]]): Parser[(A, B, C, D, E)]
    Definition Classes
    ParsersBase
  106. 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
  107. def parseType(s: String): Either[(String, Position), Type]
    Definition Classes
    SyntaxAnalyzer
  108. 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
  109. def parseWhitespace(in: Input): ParseResult[Any]
    Definition Classes
    ParsersBase
  110. var parsingWhitespace: Boolean
    Definition Classes
    ParsersBase
  111. def phrase[T](p: ⇒ Parser[T]): Parser[T]
    Definition Classes
    ParsersBase
  112. val positions: Positions
    Definition Classes
    FrontendSyntaxAnalyzerSyntaxAnalyzer
  113. final lazy val primitiveType: Parser[Rql2PrimitiveType]
    Attributes
    protected
  114. lazy val program: Parser[BaseProgram]
    Definition Classes
    FrontendSyntaxAnalyzerSyntaxAnalyzer
  115. final lazy val recordType: Parser[Rql2RecordType]
    Attributes
    protected
  116. lazy val records: Parser[Exp]
    Attributes
    protected
  117. implicit def regex(r: Regex): Parser[String]
    Definition Classes
    SyntaxAnalyzer
  118. def rep[T](p: ⇒ Parser[T]): Parser[Vector[T]]
    Definition Classes
    VectorRepetitionParsers
  119. def rep1[T](p: ⇒ Parser[T]): Parser[Vector[T]]
    Definition Classes
    VectorRepetitionParsers
  120. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[Vector[T]]
    Definition Classes
    VectorRepetitionParsers
  121. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[Vector[T]]
    Definition Classes
    VectorRepetitionParsers
  122. final lazy val rql2Method: Parser[Rql2Method]
    Attributes
    protected
  123. def runParser[T](s: String, p: Parser[T]): Either[(String, Position), T]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  124. final lazy val shortType: Parser[Rql2ShortType]
    Attributes
    protected
  125. final lazy val singleQuoteStringLit: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  126. final lazy val stringConst: Parser[StringConst]
    Attributes
    protected
  127. final lazy val stringLit: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  128. final lazy val stringLitEscaped: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  129. def stringToInt(s: String): Either[Int, String]
    Definition Classes
    ParsersBase
  130. final lazy val stringType: Parser[Rql2StringType]
    Attributes
    protected
  131. def success[T](v: ⇒ T): Parser[T]
    Definition Classes
    ParsersBase
  132. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  133. final lazy val temporalType: Parser[Rql2TemporalType]
    Attributes
    protected
  134. final lazy val timeType: Parser[Rql2TimeType]
    Attributes
    protected
  135. final lazy val timestampType: Parser[Rql2TimestampType]
    Attributes
    protected
  136. final lazy val tipe: Parser[Type]
    Attributes
    protected
    Definition Classes
    FrontendSyntaxAnalyzerSyntaxAnalyzer
  137. lazy val tipe1: PackratParser[Type]
    Attributes
    protected
  138. lazy val tipe2: PackratParser[Type]
    Attributes
    protected
  139. def toString(): String
    Definition Classes
    AnyRef → Any
  140. final lazy val tripleQStringConst: Parser[TripleQuotedStringConst]
    Attributes
    protected
  141. final lazy val tripleQuoteStringLit: Parser[String]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  142. final lazy val typeAliasType: Parser[TypeAliasType]
    Attributes
    protected
  143. final lazy val typeExp: Parser[TypeExp]
    Attributes
    protected
  144. final lazy val typeIdnUse: Parser[IdnUse]
    Attributes
    protected
  145. final lazy val undefinedType: Parser[Rql2UndefinedType]
    Attributes
    protected
  146. def updateLatestNoSuccess[T](res: NoSuccess): ParseResult[T]
    Definition Classes
    ParsersBase
  147. final def vectorOf[T](p: ⇒ Parser[T]): Parser[Vector[T]]
    Attributes
    protected
    Definition Classes
    SyntaxAnalyzer
  148. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  149. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  150. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  151. final lazy val whitespace: PackratParser[String]
    Definition Classes
    SyntaxAnalyzer
  152. 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