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
Ordering
- Alphabetic
- By Inheritance
Inherited
- SyntaxAnalyzer
- Keywords
- SyntaxAnalyzer
- StrictLogging
- Keywords
- Parsers
- VectorRepetitionParsers
- ParsersBase
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SyntaxAnalyzer(positions: Positions)
Type Members
-
sealed abstract
class
Answer[T] extends AnyRef
- Definition Classes
- ParsersBase
-
trait
CCOps[CC[_] <: Seq[_]] extends AnyRef
- Definition Classes
- ParsersBase
-
case class
Head extends Product with Serializable
- Definition Classes
- ParsersBase
-
case class
LR[T] extends Answer[T] with Product with Serializable
- Definition Classes
- ParsersBase
-
class
Marker extends AnyRef
- Definition Classes
- ParsersBase
-
class
PackratParser[T] extends Parser[T] with Rule
- Definition Classes
- ParsersBase
-
abstract
class
Parser[+T] extends (Input) ⇒ ParseResult[T]
- Definition Classes
- ParsersBase
-
implicit
class
PostfixParserCombinators[T] extends AnyRef
- Definition Classes
- VectorRepetitionParsers
-
case class
Resolution[T] extends Answer[T] with Product with Serializable
- Definition Classes
- ParsersBase
-
trait
Rule extends AnyRef
- Definition Classes
- ParsersBase
-
case class
~[+T, +U] extends Product with Serializable
- Definition Classes
- ParsersBase
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
Parser[T](f: (Input) ⇒ ParseResult[T]): Parser[T]
- Definition Classes
- ParsersBase
-
def
any: Parser[Char]
- Definition Classes
- ParsersBase
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
lazy val
attr: Parser[ParsedAttributed]
- Attributes
- protected
-
final
lazy val
attrType: Parser[Rql2AttrType]
- Attributes
- protected
-
lazy val
baseType: Parser[Type]
- Attributes
- protected
-
final
lazy val
binaryType: Parser[Rql2BinaryType]
- Attributes
- protected
-
final
lazy val
boolConst: Parser[BoolConst]
- Attributes
- protected
-
final
lazy val
boolType: Parser[Rql2BoolType]
- Attributes
- protected
-
final
lazy val
byteType: Parser[Rql2ByteType]
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
commit[U](p: ⇒ Parser[U]): Parser[U]
- Definition Classes
- ParsersBase
-
implicit
def
constToTupleFunction2[A, B, X](x: (A, B) ⇒ X): (~[A, B]) ⇒ X
- Definition Classes
- ParsersBase
-
implicit
def
constToTupleFunction3[A, B, C, X](x: (A, B, C) ⇒ X): (~[~[A, B], C]) ⇒ X
- Definition Classes
- ParsersBase
-
implicit
def
constToTupleFunction4[A, B, C, D, X](x: (A, B, C, D) ⇒ X): (~[~[~[A, B], C], D]) ⇒ X
- Definition Classes
- ParsersBase
-
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
-
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
-
lazy val
constrainedInt: Parser[Int]
- Definition Classes
- ParsersBase
-
final
lazy val
dateType: Parser[Rql2DateType]
- Attributes
- protected
-
final
lazy val
decimalType: Parser[Rql2DecimalType]
- Attributes
- protected
-
final
lazy val
doubleType: Parser[Rql2DoubleType]
- Attributes
- protected
-
def
elem(message: String, p: (Char) ⇒ Boolean): Parser[Char]
- Definition Classes
- ParsersBase
-
def
elem(ch: Char): Parser[Char]
- Definition Classes
- ParsersBase
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(message: String): Parser[Nothing]
- Definition Classes
- ParsersBase
-
final
lazy val
errorType: Parser[ErrorType]
- Attributes
- protected
-
final
lazy val
escapedIdent: Parser[String]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
lazy val
exp: PackratParser[Exp]
- Attributes
- protected
-
def
exp8: PackratParser[Exp]
- Attributes
- protected
-
final
lazy val
expType: Parser[ExpType]
- Attributes
- protected
-
def
failure(message: String): Parser[Nothing]
- Definition Classes
- ParsersBase
-
final
lazy val
floatType: Parser[Rql2FloatType]
- Attributes
- protected
-
final
lazy val
funAbs: Parser[FunAbs]
- Attributes
- protected
-
final
lazy val
funAppArg: Parser[FunAppArg]
- Attributes
- protected
-
final
lazy val
funType: PackratParser[FunType]
- Attributes
- protected
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
grep[T, CC[_] <: Seq[_]](p: ⇒ Parser[T])(ops: CCOps[CC]): Parser[CC[T]]
- Definition Classes
- ParsersBase
-
def
grep1[T, CC[_] <: Seq[_]](p: ⇒ Parser[T])(ops: CCOps[CC]): Parser[CC[T]]
- Definition Classes
- ParsersBase
-
def
grep1sep[T, CC[_] <: Seq[_]](p: ⇒ Parser[T], q: ⇒ Parser[Any])(ops: CCOps[CC]): Parser[CC[T]]
- Definition Classes
- ParsersBase
-
def
grepsep[T, CC[_] <: Seq[_]](p: ⇒ Parser[T], q: ⇒ Parser[Any])(ops: CCOps[CC]): Parser[CC[T]]
- Definition Classes
- ParsersBase
-
def
guard[T](p: ⇒ Parser[T]): Parser[T]
- Definition Classes
- ParsersBase
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
var
heads: HashMap[Input, Head]
- Definition Classes
- ParsersBase
-
final
lazy val
ident: Parser[String]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
lazy val
identDef: Parser[String]
- Attributes
- protected
-
final
lazy val
idnDef: Parser[IdnDef]
- Attributes
- protected
-
final
lazy val
idnExp: Parser[IdnExp]
- Attributes
- protected
-
final
lazy val
idnUse: Parser[IdnUse]
- Attributes
- protected
-
def
ifThenElse: Parser[IfThenElse]
- Attributes
- protected
-
final
lazy val
intType: Parser[Rql2IntType]
- Attributes
- protected
-
final
lazy val
intervalType: Parser[Rql2IntervalType]
- Attributes
- protected
-
final
def
isFloat(s: String): Option[Float]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isInt(s: String): Option[Int]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
def
isLong(s: String): Option[Long]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
- def isReserved(idn: String): Boolean
- def isReservedType(idn: String): Boolean
-
final
lazy val
iterableType: Parser[Rql2IterableType]
- Attributes
- protected
-
def
keywords(ext: Regex, kws: List[String]): Parser[String]
- Definition Classes
- ParsersBase
-
lazy val
latestNoSuccess: DynamicVariable[Option[NoSuccess]]
- Definition Classes
- ParsersBase
-
def
let: Parser[Let]
- Attributes
- protected
-
final
lazy val
letDecl: Parser[LetDecl]
- Attributes
- protected
-
final
lazy val
listType: Parser[Rql2ListType]
- Attributes
- protected
-
lazy val
lists: Parser[Exp]
- Attributes
- protected
-
implicit
def
literal(s: String): Parser[String]
- Definition Classes
- ParsersBase
-
final
lazy val
locationType: Parser[Rql2LocationType]
- Attributes
- protected
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
-
final
lazy val
longType: Parser[Rql2LongType]
- Attributes
- protected
-
def
mark[T](p: ⇒ Parser[String]): Parser[Marker]
- Definition Classes
- ParsersBase
-
implicit
def
memo[T](parser: ⇒ Parser[T]): PackratParser[T]
- Definition Classes
- ParsersBase
-
final
def
method1[T](kw: Regex, p1: ⇒ Parser[T]): Parser[T]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
def
method1[T](kw: String, p1: ⇒ Parser[T]): Parser[T]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
def
method2[T, U](kw: Regex, p1: ⇒ Parser[T], p2: ⇒ Parser[U]): Parser[~[T, U]]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
def
method2[T, U](kw: String, p1: ⇒ Parser[T], p2: ⇒ Parser[U]): Parser[~[T, U]]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
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
-
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
-
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
-
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
-
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
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nocut[T](p: ⇒ Parser[T]): Parser[T]
- Definition Classes
- ParsersBase
-
def
not[T](p: ⇒ Parser[T]): Parser[Unit]
- Definition Classes
- ParsersBase
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
lazy val
nullConst: Parser[NullConst]
- Attributes
- protected
-
final
lazy val
numberConst: Parser[NumberConst]
- Attributes
- protected
-
final
lazy val
numberType: Parser[Rql2NumberType]
- Attributes
- protected
-
def
opt[T](p: ⇒ Parser[T]): Parser[Option[T]]
- Definition Classes
- ParsersBase
-
final
lazy val
packageEntryType: Parser[PackageEntryType]
- Attributes
- protected
-
final
lazy val
packageType: Parser[PackageType]
- Attributes
- protected
-
def
parse(s: String): Either[(String, Position), BaseProgram]
- Definition Classes
- SyntaxAnalyzer
-
def
parse[T](p: Parser[T], source: Source): ParseResult[T]
- Definition Classes
- ParsersBase
-
def
parseAll[T](p: Parser[T], source: Source): ParseResult[T]
- Definition Classes
- ParsersBase
-
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
-
implicit
def
parseResultToTuple2[A, B](p: Parser[~[A, B]]): Parser[(A, B)]
- Definition Classes
- ParsersBase
-
implicit
def
parseResultToTuple3[A, B, C](p: Parser[~[~[A, B], C]]): Parser[(A, B, C)]
- Definition Classes
- ParsersBase
-
implicit
def
parseResultToTuple4[A, B, C, D](p: Parser[~[~[~[A, B], C], D]]): Parser[(A, B, C, D)]
- Definition Classes
- ParsersBase
-
implicit
def
parseResultToTuple5[A, B, C, D, E](p: Parser[~[~[~[~[A, B], C], D], E]]): Parser[(A, B, C, D, E)]
- Definition Classes
- ParsersBase
-
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
-
def
parseType(s: String): Either[(String, Position), Type]
- Definition Classes
- SyntaxAnalyzer
-
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
-
def
parseWhitespace(in: Input): ParseResult[Any]
- Definition Classes
- ParsersBase
-
var
parsingWhitespace: Boolean
- Definition Classes
- ParsersBase
-
def
phrase[T](p: ⇒ Parser[T]): Parser[T]
- Definition Classes
- ParsersBase
-
val
positions: Positions
- Definition Classes
- SyntaxAnalyzer → SyntaxAnalyzer
-
final
lazy val
primitiveType: Parser[Rql2PrimitiveType]
- Attributes
- protected
-
lazy val
program: Parser[BaseProgram]
- Definition Classes
- SyntaxAnalyzer → SyntaxAnalyzer
-
final
lazy val
recordType: Parser[Rql2RecordType]
- Attributes
- protected
-
lazy val
records: Parser[Exp]
- Attributes
- protected
-
implicit
def
regex(r: Regex): Parser[String]
- Definition Classes
- SyntaxAnalyzer
-
def
rep[T](p: ⇒ Parser[T]): Parser[Vector[T]]
- Definition Classes
- VectorRepetitionParsers
-
def
rep1[T](p: ⇒ Parser[T]): Parser[Vector[T]]
- Definition Classes
- VectorRepetitionParsers
-
def
rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[Vector[T]]
- Definition Classes
- VectorRepetitionParsers
-
def
repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[Vector[T]]
- Definition Classes
- VectorRepetitionParsers
-
final
lazy val
rql2Method: Parser[Rql2Method]
- Attributes
- protected
-
def
runParser[T](s: String, p: Parser[T]): Either[(String, Position), T]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
lazy val
shortType: Parser[Rql2ShortType]
- Attributes
- protected
-
final
lazy val
singleQuoteStringLit: Parser[String]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
lazy val
stringConst: Parser[StringConst]
- Attributes
- protected
-
final
lazy val
stringLit: Parser[String]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
lazy val
stringLitEscaped: Parser[String]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
def
stringToInt(s: String): Either[Int, String]
- Definition Classes
- ParsersBase
-
final
lazy val
stringType: Parser[Rql2StringType]
- Attributes
- protected
-
def
success[T](v: ⇒ T): Parser[T]
- Definition Classes
- ParsersBase
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
lazy val
temporalType: Parser[Rql2TemporalType]
- Attributes
- protected
-
final
lazy val
timeType: Parser[Rql2TimeType]
- Attributes
- protected
-
final
lazy val
timestampType: Parser[Rql2TimestampType]
- Attributes
- protected
-
final
lazy val
tipe: Parser[Type]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer → SyntaxAnalyzer
- final lazy val tipe1: PackratParser[Type]
-
lazy val
tipe2: PackratParser[Type]
- Attributes
- protected
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
lazy val
tripleQStringConst: Parser[TripleQuotedStringConst]
- Attributes
- protected
-
final
lazy val
tripleQuoteStringLit: Parser[String]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
lazy val
typeAliasType: Parser[TypeAliasType]
- Attributes
- protected
-
final
lazy val
typeExp: Parser[TypeExp]
- Attributes
- protected
-
final
lazy val
typeIdnUse: Parser[IdnUse]
- Attributes
- protected
-
final
lazy val
typeProps: Parser[Set[Rql2TypeProperty]]
- Attributes
- protected
-
final
lazy val
undefinedType: Parser[Rql2UndefinedType]
- Attributes
- protected
-
def
updateLatestNoSuccess[T](res: NoSuccess): ParseResult[T]
- Definition Classes
- ParsersBase
-
final
def
vectorOf[T](p: ⇒ Parser[T]): Parser[Vector[T]]
- Attributes
- protected
- Definition Classes
- SyntaxAnalyzer
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
lazy val
whitespace: PackratParser[String]
- Definition Classes
- SyntaxAnalyzer
-
def
wrap[T, U](p: ⇒ Parser[T], f: (T) ⇒ Either[U, String]): Parser[U]
- Definition Classes
- ParsersBase
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated