Class

io.prophecy.abinitio.xfr.parse

CustomLexer

Related Doc: package parse

Permalink

class CustomLexer extends RegexParsers

Linear Supertypes
RegexParsers, Parsers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CustomLexer
  2. RegexParsers
  3. Parsers
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CustomLexer()

    Permalink

Type Members

  1. type Elem = Char

    Permalink
    Definition Classes
    RegexParsers → Parsers
  2. case class Error extends NoSuccess with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  3. case class Failure extends NoSuccess with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  4. type Input = Reader[Elem]

    Permalink
    Definition Classes
    Parsers
  5. sealed abstract class NoSuccess extends ParseResult[Nothing]

    Permalink
    Definition Classes
    Parsers
  6. trait OnceParser[+T] extends Parser[T]

    Permalink
    Definition Classes
    Parsers
  7. sealed abstract class ParseResult[+T] extends AnyRef

    Permalink
    Definition Classes
    Parsers
  8. abstract class Parser[+T] extends (Input) ⇒ ParseResult[T]

    Permalink
    Definition Classes
    Parsers
  9. case class Success[+T] extends ParseResult[T] with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  10. case class ~[+a, +b] extends Product with Serializable

    Permalink
    Definition Classes
    Parsers

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object NoSuccess

    Permalink
    Definition Classes
    Parsers
  5. def OnceParser[T](f: (Input) ⇒ ParseResult[T]): Parser[T] with OnceParser[T]

    Permalink
    Definition Classes
    Parsers
  6. def Parser[T](f: (Input) ⇒ ParseResult[T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  7. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Permalink
    Definition Classes
    Parsers
  8. def accept[ES](es: ES)(implicit f: (ES) ⇒ List[Elem]): Parser[List[Elem]]

    Permalink
    Definition Classes
    Parsers
  9. implicit def accept(e: Elem): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  10. def acceptIf(p: (Elem) ⇒ Boolean)(err: (Elem) ⇒ String): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  11. def acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Permalink
    Definition Classes
    Parsers
  12. def acceptSeq[ES](es: ES)(implicit f: (ES) ⇒ Iterable[Elem]): Parser[List[Elem]]

    Permalink
    Definition Classes
    Parsers
  13. def apply(code: String): Either[CustomLexerError, List[CustomToken]]

    Permalink
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def ascii: Parser[ASCII]

    Permalink
  16. def bSlash: Parser[BSLASH]

    Permalink
  17. def begin: Parser[BEGIN]

    Permalink
  18. def bigEndian: Parser[BIGENDIAN]

    Permalink
  19. def block: Parser[BLOCK]

    Permalink
  20. def cBrace: Parser[CBRACE]

    Permalink
  21. def cBrack: Parser[CBRACK]

    Permalink
  22. def cParen: Parser[CPAREN]

    Permalink
  23. def century: Parser[CENTURY]

    Permalink
  24. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  25. def chainl1[T](p: ⇒ Parser[T], q: ⇒ Parser[(T, T) ⇒ T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  26. def chainr1[T, U](p: ⇒ Parser[T], q: ⇒ Parser[(T, U) ⇒ U], combine: (T, U) ⇒ U, first: U): Parser[U]

    Permalink
    Definition Classes
    Parsers
  27. def charset: Parser[CHARSET]

    Permalink
  28. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  29. def colon: Parser[COLON]

    Permalink
  30. def colons: Parser[COLONS]

    Permalink
  31. def comma: Parser[COMMA]

    Permalink
  32. def commit[T](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  33. def constant: Parser[CONSTANT]

    Permalink
  34. def date: Parser[DATE]

    Permalink
  35. def dateIntIdentifier: Parser[IDENTIFIER]

    Permalink
  36. def datetime: Parser[DATETIME]

    Permalink
  37. def datetimeIntegerIdentifier: Parser[IDENTIFIER]

    Permalink
  38. def decimal: Parser[DECIMAL]

    Permalink
  39. def dollar: Parser[DOLLAR]

    Permalink
  40. def dot: Parser[DOT]

    Permalink
  41. def double: Parser[DOUBLE]

    Permalink
  42. def ebcdic: Parser[EBCDIC]

    Permalink
  43. def elem(e: Elem): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  44. def elem(kind: String, p: (Elem) ⇒ Boolean): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  45. def end: Parser[END]

    Permalink
  46. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  47. def equal: Parser[EQUAL]

    Permalink
  48. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  49. def err(msg: String): Parser[Nothing]

    Permalink
    Definition Classes
    Parsers
  50. def exit: Parser[EXIT]

    Permalink
  51. def failure(msg: String): Parser[Nothing]

    Permalink
    Definition Classes
    Parsers
  52. def float: Parser[FLOAT]

    Permalink
  53. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  54. def guard[T](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  55. def handleWhiteSpace(source: CharSequence, offset: Int): Int

    Permalink
    Attributes
    protected
    Definition Classes
    RegexParsers
  56. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  57. def identifier1: Parser[IDENTIFIER]

    Permalink
  58. def identifier2: Parser[IDENTIFIER]

    Permalink
  59. def int: Parser[INT]

    Permalink
  60. def integer: Parser[INTEGER]

    Permalink
  61. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  62. def iso_latin: Parser[ISO_LATIN]

    Permalink
  63. val keyword: String

    Permalink
  64. def let: Parser[LET]

    Permalink
  65. def lineCont: Parser[LINECONT]

    Permalink

    Line continuation pattern, ending with quote and beginning with another quote

  66. def literal: Parser[LITERAL]

    Permalink
  67. implicit def literal(s: String): Parser[String]

    Permalink
    Definition Classes
    RegexParsers
  68. def literal2: Parser[LITERAL]

    Permalink

    This method is used to identify string literals containing multiple words and without double quotes.

    This method is used to identify string literals containing multiple words and without double quotes. This method will discard all keywords being recognised in abinitio as special meaning words and take all other space separated words without double quotes.

  69. def littleEndian: Parser[LITTLE_ENDIAN]

    Permalink
  70. def log[T](p: ⇒ Parser[T])(name: String): Parser[T]

    Permalink
    Definition Classes
    Parsers
  71. def long: Parser[LONG]

    Permalink
  72. def maxLen: Parser[MAX_LEN]

    Permalink
  73. def metadata: Parser[METADATA]

    Permalink
  74. def minus: Parser[MINUS]

    Permalink
  75. def mkList[T]: (~[T, List[T]]) ⇒ List[T]

    Permalink
    Definition Classes
    Parsers
  76. def multiLineComment: Parser[COMMENT]

    Permalink

    Regex identifies comments starting with /* and ending with */ and spanning multiple lines as well.

  77. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  78. def not[T](p: ⇒ Parser[T]): Parser[Unit]

    Permalink
    Definition Classes
    Parsers
  79. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  80. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  81. def oBrace: Parser[OBRACE]

    Permalink
  82. def oBrack: Parser[OBRACK]

    Permalink
  83. def oParen: Parser[OPAREN]

    Permalink
  84. def operator1: Parser[BIN_OP1]

    Permalink
  85. def operator2: Parser[BIN_OP2]

    Permalink
  86. def operator3: Parser[BIN_OP3]

    Permalink
  87. def operator4: Parser[BIN_OP4]

    Permalink
  88. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]

    Permalink
    Definition Classes
    Parsers
  89. def packed: Parser[PACKED]

    Permalink
  90. def parse[T](p: Parser[T], in: Reader): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  91. def parse[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  92. def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  93. def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  94. def parseAll[T](p: Parser[T], in: Reader): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  95. def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  96. def phrase[T](p: Parser[T]): Parser[T]

    Permalink
    Definition Classes
    RegexParsers → Parsers
  97. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    RegexParsers → Parsers
  98. def question: Parser[QUESTION]

    Permalink
  99. def real: Parser[REAL]

    Permalink
  100. def record: Parser[RECORD]

    Permalink
  101. implicit def regex(r: Regex): Parser[String]

    Permalink
    Definition Classes
    RegexParsers
  102. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  103. def rep1[T](first: ⇒ Parser[T], p0: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.

  104. def rep1[T](p: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  105. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  106. def repN[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  107. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  108. def semi: Parser[SEMICOLON]

    Permalink
  109. def signReserved: Parser[SIGN_RESERVED]

    Permalink
  110. def signReserved2: Parser[SIGN_RESERVED]

    Permalink
  111. def signed: Parser[SIGNED]

    Permalink
  112. def singleLineComment: Parser[COMMENT]

    Permalink

    Below Regex identifies comments starting with // till the end of line.

  113. def skipWhitespace: Boolean

    Permalink
    Definition Classes
    CustomLexer → RegexParsers
  114. def split: Parser[SPLIT]

    Permalink
  115. def string: Parser[STRING]

    Permalink
  116. def stringLiteral: Parser[STRING_LITERAL]

    Permalink
  117. def success[T](v: T): Parser[T]

    Permalink
    Definition Classes
    Parsers
  118. def switch: Parser[SWITCH]

    Permalink
  119. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  120. def theCase: Parser[CASE]

    Permalink
  121. def theElse: Parser[ELSE]

    Permalink
  122. def theFalse: Parser[FALSE]

    Permalink
  123. def theFalse2: Parser[FALSE]

    Permalink
  124. def theFor: Parser[FOR]

    Permalink
  125. def theIIf: Parser[IIF]

    Permalink
  126. def theIf: Parser[IF]

    Permalink
  127. def theMember: Parser[MEMBER]

    Permalink
  128. def theNull: Parser[NULL]

    Permalink
  129. def theTrue: Parser[TRUE]

    Permalink
  130. def theTrue2: Parser[TRUE]

    Permalink
  131. def theType: Parser[TYPE]

    Permalink
  132. def theWhile: Parser[WHILE]

    Permalink
  133. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  134. def tokens: Parser[List[CustomToken]]

    Permalink
  135. def unary_operator: Parser[UN_OP]

    Permalink
  136. def unicode: Parser[UNICODE]

    Permalink
  137. def unsigned: Parser[UNSIGNED]

    Permalink
  138. def utf8: Parser[UTF8]

    Permalink
  139. def vector: Parser[VECTOR]

    Permalink
  140. def void: Parser[VOID]

    Permalink
  141. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  142. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  143. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  144. val whiteSpace: Regex

    Permalink
    Definition Classes
    CustomLexer → RegexParsers

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from RegexParsers

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Ungrouped