Package

io.prophecy.abinitio.xfr

parse

Permalink

package parse

Visibility
  1. Public
  2. All

Type Members

  1. case class ASCII() extends CustomToken with Product with Serializable

    Permalink
  2. case class BEGIN() extends CustomToken with Product with Serializable

    Permalink
  3. case class BIGENDIAN() extends CustomToken with Product with Serializable

    Permalink
  4. case class BIN_OP1(str: String) extends CustomToken with Product with Serializable

    Permalink
  5. case class BIN_OP2(str: String) extends CustomToken with Product with Serializable

    Permalink
  6. case class BIN_OP3(str: String) extends CustomToken with Product with Serializable

    Permalink
  7. case class BIN_OP4(str: String) extends CustomToken with Product with Serializable

    Permalink
  8. case class BLOCK() extends CustomToken with Product with Serializable

    Permalink
  9. case class CASE() extends CustomToken with Product with Serializable

    Permalink
  10. case class CBRACE() extends CustomToken with Product with Serializable

    Permalink
  11. case class CBRACK() extends CustomToken with Product with Serializable

    Permalink
  12. case class CENTURY() extends CustomToken with Product with Serializable

    Permalink
  13. case class CHARSET() extends CustomToken with Product with Serializable

    Permalink
  14. case class COLON() extends CustomToken with Product with Serializable

    Permalink
  15. case class COLONS() extends CustomToken with Product with Serializable

    Permalink
  16. case class COMMA() extends CustomToken with Product with Serializable

    Permalink
  17. case class COMMENT() extends CustomToken with Product with Serializable

    Permalink
  18. case class CONSTANT() extends CustomToken with Product with Serializable

    Permalink
  19. case class CPAREN() extends CustomToken with Product with Serializable

    Permalink
  20. sealed trait CustomCompilationError extends AnyRef

    Permalink
  21. class CustomLexer extends RegexParsers

    Permalink
  22. case class CustomLexerError(location: Location, msg: String) extends CustomCompilationError with Product with Serializable

    Permalink
  23. case class CustomParserError(location: Location, msg: String) extends CustomCompilationError with Product with Serializable

    Permalink
  24. sealed trait CustomToken extends Positional

    Permalink
  25. case class DATE() extends CustomToken with Product with Serializable

    Permalink
  26. case class DATETIME() extends CustomToken with Product with Serializable

    Permalink
  27. case class DECIMAL() extends CustomToken with Product with Serializable

    Permalink
  28. case class DECIMAL_PROPS(precision: Int, scale: Option[Int], delimiter: Option[String], miscProperties: Map[String, String]) extends CustomToken with Product with Serializable

    Permalink
  29. case class DOLLAR() extends CustomToken with Product with Serializable

    Permalink
  30. case class DOT() extends CustomToken with Product with Serializable

    Permalink
  31. case class DOUBLE() extends CustomToken with Product with Serializable

    Permalink
  32. case class DOUBLE_LITERAL(dub: Double) extends LITERAL with Product with Serializable

    Permalink
  33. case class EBCDIC() extends CustomToken with Product with Serializable

    Permalink
  34. case class ELSE() extends CustomToken with Product with Serializable

    Permalink
  35. case class END() extends CustomToken with Product with Serializable

    Permalink
  36. case class EQUAL() extends CustomToken with Product with Serializable

    Permalink
  37. case class EXIT() extends CustomToken with Product with Serializable

    Permalink
  38. case class FALSE() extends CustomToken with Product with Serializable

    Permalink
  39. case class FLOAT() extends CustomToken with Product with Serializable

    Permalink
  40. case class FOR() extends CustomToken with Product with Serializable

    Permalink
  41. case class IDENTIFIER(str: String) extends CustomToken with Product with Serializable

    Permalink
  42. case class IF() extends CustomToken with Product with Serializable

    Permalink
  43. case class IIF() extends CustomToken with Product with Serializable

    Permalink
  44. case class INT() extends CustomToken with Product with Serializable

    Permalink
  45. case class INTEGER() extends CustomToken with Product with Serializable

    Permalink
  46. case class INT_LITERAL(int: Int) extends LITERAL with Product with Serializable

    Permalink
  47. case class ISO_LATIN() extends CustomToken with Product with Serializable

    Permalink
  48. case class LET() extends CustomToken with Product with Serializable

    Permalink
  49. case class LINECONT() extends CustomToken with Product with Serializable

    Permalink
  50. sealed trait LITERAL extends CustomToken

    Permalink
  51. case class LITTLE_ENDIAN() extends CustomToken with Product with Serializable

    Permalink
  52. case class LONG() extends CustomToken with Product with Serializable

    Permalink
  53. case class LONG_LITERAL(lng: Long) extends LITERAL with Product with Serializable

    Permalink
  54. case class Location(line: Int, column: Int) extends Product with Serializable

    Permalink
  55. case class MAX_LEN() extends CustomToken with Product with Serializable

    Permalink
  56. case class MEMBER() extends CustomToken with Product with Serializable

    Permalink
  57. case class METADATA() extends CustomToken with Product with Serializable

    Permalink
  58. case class MINUS() extends CustomToken with Product with Serializable

    Permalink
  59. case class NULL() extends CustomToken with Product with Serializable

    Permalink
  60. case class OBRACE() extends CustomToken with Product with Serializable

    Permalink
  61. case class OBRACK() extends CustomToken with Product with Serializable

    Permalink
  62. case class OPAREN() extends CustomToken with Product with Serializable

    Permalink
  63. case class PACKED() extends CustomToken with Product with Serializable

    Permalink
  64. class Parser extends ParserExpressions

    Permalink
  65. class ParserBase extends Parsers with PackratParsers

    Permalink
  66. class ParserExpressions extends ParserBase

    Permalink

    Part of the custom Ab Initio code parser responsible for parsing parsers.

    Part of the custom Ab Initio code parser responsible for parsing parsers.

    Expressions are used to form statements inside the Parser.

    The code below is used to generate a packrat parser for 4 levels of precedence of parsers, from binding the least to most: 4. |, ||, &&, and, or 3. >=, <=, <, >, !=, == 2. +, >>, << 1. *, %, /

    To minimize the repetition of the code, there's one main class that defines parsers like if and for, called Expressions. Each level inherits from this class changing the operators as necessary. E.g. the expression3 changes the operators level from 4 to 3, by overwriting the lazy val declaration.

    To ensure that some operators are left recursive (as opposed to right recursive by default), note that those will contain a match inside binOpExpression's between the current level and the level below.

  67. case class QUESTION() extends CustomToken with Product with Serializable

    Permalink
  68. case class REAL() extends CustomToken with Product with Serializable

    Permalink
  69. case class RECORD() extends CustomToken with Product with Serializable

    Permalink
  70. case class SEMICOLON() extends CustomToken with Product with Serializable

    Permalink
  71. case class SIGNED() extends CustomToken with Product with Serializable

    Permalink
  72. case class SIGN_RESERVED() extends CustomToken with Product with Serializable

    Permalink
  73. case class SPLIT() extends CustomToken with Product with Serializable

    Permalink
  74. case class STAR() extends CustomToken with Product with Serializable

    Permalink
  75. case class STRING() extends CustomToken with Product with Serializable

    Permalink
  76. case class STRING_LITERAL(str: String) extends LITERAL with Product with Serializable

    Permalink
  77. case class STRING_PROPS(maxLen: Option[Int], delimiter: Option[String], miscProperties: Map[String, String]) extends Product with Serializable

    Permalink
  78. case class SWITCH() extends CustomToken with Product with Serializable

    Permalink
  79. case class TRUE() extends CustomToken with Product with Serializable

    Permalink
  80. case class TYPE() extends CustomToken with Product with Serializable

    Permalink
  81. case class UNICODE() extends CustomToken with Product with Serializable

    Permalink
  82. case class UNSIGNED() extends CustomToken with Product with Serializable

    Permalink
  83. case class UN_OP(str: String) extends CustomToken with Product with Serializable

    Permalink
  84. case class UTF8() extends CustomToken with Product with Serializable

    Permalink
  85. case class VECTOR() extends CustomToken with Product with Serializable

    Permalink
  86. case class VOID() extends CustomToken with Product with Serializable

    Permalink
  87. case class WHILE() extends CustomToken with Product with Serializable

    Permalink

Value Members

  1. object CustomCompiler

    Permalink

Ungrouped