PageRenderTime 27ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/js/jsreops.tbl

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
Unknown | 145 lines | 139 code | 6 blank | 0 comment | 0 complexity | 82320cd66f774d13da4d2e295a131a62 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  2. * vim: set ts=8 sw=4 et tw=0 ft=C:
  3. *
  4. * ***** BEGIN LICENSE BLOCK *****
  5. * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  6. *
  7. * The contents of this file are subject to the Mozilla Public License Version
  8. * 1.1 (the "license"); you may not use this file except in compliance with
  9. * the License. You may obtain a copy of the License at
  10. * http://www.mozilla.org/MPL/
  11. *
  12. * Software distributed under the License is distributed on an "as is" basis,
  13. * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  14. * for the specific language governing rights and limitations under the
  15. * License.
  16. *
  17. * The Original Code is Mozilla Communicator client code, released
  18. * March 31, 1998.
  19. *
  20. * The Initial Developer of the Original Code is
  21. * Netscape Communications Corporation.
  22. * Portions created by the Initial Developer are Copyright (C) 1998
  23. * the Initial Developer. All Rights Reserved.
  24. *
  25. * Contributor(s):
  26. *
  27. * Alternatively, the contentsof this file are subject to the Mozilla Public License Version
  28. * 1.1 (the "license"); you may not use this file except in compliance with
  29. * the License. You may obtain a copy of thter (the "lgpl"),
  30. * in which case the provisions of the GPL or the LGPL are applicable instead
  31. * of those above. If you wish to allow use of your version of this file only
  32. * under the terms of either the GPL or the LGPL, and not to allow others to
  33. * use your version of this file under the terms of the MPL, indicate your
  34. * decision by deleting the provisions above and replace them with the notice
  35. * and other provisions required by the GPL or the LGPL. If you do not delete
  36. * the provisions above, a recipient may use your version of this file under
  37. * the terms of any one of the MPL, the GPL or the LGPL.
  38. *
  39. * ***** END LICENSE BLOCK ***** */
  40. /* Note : contiguity of 'simple opcodes' is important for SimpleMatch() */
  41. /* match rest of input against rest of r.e. */
  42. REOP_DEF(REOP_EMPTY, "empty")
  43. /* beginning of input (or line if multiline) */
  44. REOP_DEF(REOP_BOL, "bol")
  45. /* end of input (or line if multiline) */
  46. REOP_DEF(REOP_EOL, "eol")
  47. /* match "" at word boundary */
  48. REOP_DEF(REOP_WBDRY, "wbdry")
  49. /* match "" at word non-boundary */
  50. REOP_DEF(REOP_WNONBDRY, "wnonbdry")
  51. /* stands for any character */
  52. REOP_DEF(REOP_DOT, "dot")
  53. /* match a digit char: [0-9] */
  54. REOP_DEF(REOP_DIGIT, "digit")
  55. /* match a non-digit char: [^0-9] */
  56. REOP_DEF(REOP_NONDIGIT, "nondigit")
  57. /* match an alphanumeric char: [0-9a-z_A-Z] */
  58. REOP_DEF(REOP_ALNUM, "alnum")
  59. /* match a non-alphanumeric char: [^0-9a-z_A-Z] */
  60. REOP_DEF(REOP_NONALNUM, "nonalnum")
  61. /* match a whitespace char */
  62. REOP_DEF(REOP_SPACE, "space")
  63. /* match a non-whitespace char */
  64. REOP_DEF(REOP_NONSPACE, "nonspace")
  65. /* back-reference (e.g., \1) to a parenthetical */
  66. REOP_DEF(REOP_BACKREF, "backref")
  67. /* match a flat string */
  68. REOP_DEF(REOP_FLAT, "flat")
  69. /* match a single char */
  70. REOP_DEF(REOP_FLAT1, "flat1")
  71. /* case-independent REOP_FLAT */
  72. REOP_DEF(REOP_FLATi, "flati")
  73. /* case-independent REOP_FLAT1 */
  74. REOP_DEF(REOP_FLAT1i, "flat1i")
  75. /* single Unicode char */
  76. REOP_DEF(REOP_UCFLAT1, "ucflat1")
  77. /* case-independent REOP_UCFLAT1 */
  78. REOP_DEF(REOP_UCFLAT1i, "ucflat1i")
  79. /* flat Unicode string; len immediate counts chars */
  80. REOP_DEF(REOP_UCFLAT, "ucflat")
  81. /* case-independent REOP_UCFLAT */
  82. REOP_DEF(REOP_UCFLATi, "ucflati")
  83. /* character class with index */
  84. REOP_DEF(REOP_CLASS, "class")
  85. /* negated character class with index */
  86. REOP_DEF(REOP_NCLASS, "nclass")
  87. /* NCLASS is considered to be the last "simple" op-code */
  88. /* alternative subexpressions in kid and next */
  89. REOP_DEF(REOP_ALT, "alt")
  90. /* quantified atom: atom{1,2} */
  91. REOP_DEF(REOP_QUANT, "quant")
  92. /* zero or more occurrences of kid */
  93. REOP_DEF(REOP_STAR, "star")
  94. /* one or more occurrences of kid */
  95. REOP_DEF(REOP_PLUS, "plus")
  96. /* optional subexpression in kid */
  97. REOP_DEF(REOP_OPT, "opt")
  98. /* left paren bytecode: kid is u.num'th sub-regexp */
  99. REOP_DEF(REOP_LPAREN, "lparen")
  100. /* right paren bytecode */
  101. REOP_DEF(REOP_RPAREN, "rparen")
  102. /* for deoptimized closure loops */
  103. REOP_DEF(REOP_JUMP, "jump")
  104. /* optimize .* to use a single opcode */
  105. REOP_DEF(REOP_DOTSTAR, "dotstar")
  106. /* non-capturing version of REOP_LPAREN */
  107. REOP_DEF(REOP_LPARENNON, "lparennon")
  108. /* zero width positive lookahead assertion */
  109. REOP_DEF(REOP_ASSERT, "assert")
  110. /* zero width negative lookahead assertion */
  111. REOP_DEF(REOP_ASSERT_NOT, "assert_not")
  112. /* sentinel at end of assertion child */
  113. REOP_DEF(REOP_ASSERTTEST, "asserttest")
  114. /* sentinel at end of !assertion child */
  115. REOP_DEF(REOP_ASSERTNOTTEST, "assertnottest")
  116. /* non-greedy version of * */
  117. REOP_DEF(REOP_MINIMALSTAR, "minimalstar")
  118. /* non-greedy version of + */
  119. REOP_DEF(REOP_MINIMALPLUS, "minimalplus")
  120. /* non-greedy version of ? */
  121. REOP_DEF(REOP_MINIMALOPT, "minimalopt")
  122. /* non-greedy version of {} */
  123. REOP_DEF(REOP_MINIMALQUANT, "minimalquant")
  124. /* sentinel at end of quantifier child */
  125. REOP_DEF(REOP_ENDCHILD, "endchild")
  126. /* directs execution of greedy quantifier */
  127. REOP_DEF(REOP_REPEAT, "repeat")
  128. /* directs execution of non-greedy quantifier */
  129. REOP_DEF(REOP_MINIMALREPEAT, "minimalrepeat")
  130. /* prerequisite for ALT, either of two chars */
  131. REOP_DEF(REOP_ALTPREREQ, "altprereq")
  132. /* prerequisite for ALT, a char or a class */
  133. REOP_DEF(REOP_ALTPREREQ2, "altprereq2")
  134. /* end of final alternate */
  135. REOP_DEF(REOP_ENDALT, "endalt")
  136. /* concatenation of terms (parse time only) */
  137. REOP_DEF(REOP_CONCAT, "concat")
  138. /* end of expression */
  139. REOP_DEF(REOP_END, "end")