package solidity-parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type token =
  1. | XOREQUAL
  2. | XOR
  3. | WHILE
  4. | VIRTUAL
  5. | VIEW
  6. | VAR
  7. | USING
  8. | UINT of int option
  9. | UFIXED of (int * int) option
  10. | TRY
  11. | STRUCT
  12. | STRINGLITERAL of string
  13. | STRING
  14. | STORAGE
  15. | STARSTAR
  16. | STAREQUAL
  17. | STAR
  18. | SEMI
  19. | RPAREN
  20. | RETURNS
  21. | RETURN
  22. | RECEIVE
  23. | RBRACKET
  24. | RBRACE
  25. | QUESTION
  26. | PURE
  27. | PUBLIC
  28. | PRIVATE
  29. | PRAGMA of Solidity_common.Ident.t * string
  30. | PLUSPLUS
  31. | PLUSEQUAL
  32. | PLUS
  33. | PIPEPIPE
  34. | PIPEEQUAL
  35. | PIPE
  36. | PERCENTEQUAL
  37. | PERCENT
  38. | PAYABLE
  39. | OVERRIDE
  40. | NUMBERUNIT of Solidity_ast.number_unit
  41. | NUMBER of Z.t option * Z.t option * int option
  42. | NOT
  43. | NEW
  44. | MODIFIER
  45. | MINUSMINUS
  46. | MINUSEQUAL
  47. | MINUS
  48. | MEMORY
  49. | MAPPING
  50. | LPAREN
  51. | LIBRARY
  52. | LESSLESSEQUAL
  53. | LESSLESS
  54. | LESSEQUAL
  55. | LESS
  56. | LBRACKET
  57. | LBRACE
  58. | IS
  59. | INTERNAL
  60. | INTERFACE
  61. | INT of int option
  62. | INDEXED
  63. | IMPORT
  64. | IMMUTABLE
  65. | IF
  66. | IDENTIFIER of Solidity_common.Ident.t
  67. | HEXSTRINGLITERAL of string
  68. | HEXNUMBER of string
  69. | GREATERGREATEREQUAL
  70. | GREATERGREATER
  71. | GREATEREQUAL
  72. | GREATER
  73. | FUNCTION
  74. | FROM
  75. | FOR
  76. | FIXED of (int * int) option
  77. | FALLBACK
  78. | EXTERNAL
  79. | EVENT
  80. | EQUALGREATER
  81. | EQUALEQUAL
  82. | EQUAL
  83. | EOF
  84. | ENUM
  85. | EMIT
  86. | ELSE
  87. | DOT
  88. | DO
  89. | DIVEQUAL
  90. | DIV
  91. | DELETE
  92. | CONTRACT
  93. | CONTINUE
  94. | CONSTRUCTOR
  95. | CONSTANT
  96. | COMMA
  97. | COLON
  98. | CATCH
  99. | CALLDATA
  100. | BYTES of int option
  101. | BYTE
  102. | BREAK
  103. | BOOLEANLITERAL of bool
  104. | BOOL
  105. | BANGEQUAL
  106. | BANG
  107. | AS
  108. | ANONYMOUS
  109. | AMPEREQUAL
  110. | AMPERAMPER
  111. | AMPER
  112. | ADDRESSLITERAL of string
  113. | ADDRESS
  114. | ABSTRACT
exception Error
val module_units : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> Solidity_ast.module_units
OCaml

Innovation. Community. Security.