1 16 19 package com.sun.org.apache.xpath.internal.compiler; 20 21 39 public class OpCodes 40 { 41 42 47 public static final int ENDOP = -1; 48 49 53 public static final int EMPTY = -2; 54 55 61 public static final int ELEMWILDCARD = -3; 62 63 77 public static final int OP_XPATH = 1; 78 79 89 public static final int OP_OR = 2; 90 91 101 public static final int OP_AND = 3; 102 103 113 public static final int OP_NOTEQUALS = 4; 114 115 125 public static final int OP_EQUALS = 5; 126 127 137 public static final int OP_LTE = 6; 138 139 149 public static final int OP_LT = 7; 150 151 161 public static final int OP_GTE = 8; 162 163 173 public static final int OP_GT = 9; 174 175 185 public static final int OP_PLUS = 10; 186 187 197 public static final int OP_MINUS = 11; 198 199 209 public static final int OP_MULT = 12; 210 211 221 public static final int OP_DIV = 13; 222 223 233 public static final int OP_MOD = 14; 234 235 245 public static final int OP_QUO = 15; 246 247 256 public static final int OP_NEG = 16; 257 258 267 public static final int OP_STRING = 17; 268 269 278 public static final int OP_BOOL = 18; 279 280 289 public static final int OP_NUMBER = 19; 290 291 300 public static final int OP_UNION = 20; 301 302 311 public static final int OP_LITERAL = 21; 312 313 315 static final int FIRST_NODESET_OP = 22; 316 317 327 public static final int OP_VARIABLE = 22; 328 329 343 public static final int OP_GROUP = 23; 344 345 361 public static final int OP_EXTFUNCTION = 24; 362 363 379 public static final int OP_FUNCTION = 25; 380 381 382 static final int LAST_NODESET_OP = 25; 383 384 398 public static final int OP_ARGUMENT = 26; 399 400 409 public static final int OP_NUMBERLIT = 27; 410 411 426 public static final int OP_LOCATIONPATH = 28; 427 428 432 442 public static final int OP_PREDICATE = 29; 443 444 453 public static final int OP_MATCHPATTERN = 30; 454 455 465 public static final int OP_LOCATIONPATHPATTERN = 31; 466 467 476 public static final int NODETYPE_COMMENT = 1030; 477 478 487 public static final int NODETYPE_TEXT = 1031; 488 489 498 public static final int NODETYPE_PI = 1032; 499 500 509 public static final int NODETYPE_NODE = 1033; 510 511 520 public static final int NODENAME = 34; 521 522 530 public static final int NODETYPE_ROOT = 35; 531 532 540 public static final int NODETYPE_ANYELEMENT = 36; 541 542 550 public static final int NODETYPE_FUNCTEST = 1034; 551 552 563 public static final int AXES_START_TYPES = 37; 564 565 566 public static final int FROM_ANCESTORS = 37; 567 568 569 public static final int FROM_ANCESTORS_OR_SELF = 38; 570 571 572 public static final int FROM_ATTRIBUTES = 39; 573 574 575 public static final int FROM_CHILDREN = 40; 576 577 578 public static final int FROM_DESCENDANTS = 41; 579 580 581 public static final int FROM_DESCENDANTS_OR_SELF = 42; 582 583 584 public static final int FROM_FOLLOWING = 43; 585 586 587 public static final int FROM_FOLLOWING_SIBLINGS = 44; 588 589 590 public static final int FROM_PARENT = 45; 591 592 593 public static final int FROM_PRECEDING = 46; 594 595 596 public static final int FROM_PRECEDING_SIBLINGS = 47; 597 598 599 public static final int FROM_SELF = 48; 600 601 602 public static final int FROM_NAMESPACE = 49; 603 604 605 public static final int FROM_ROOT = 50; 606 607 611 public static final int MATCH_ATTRIBUTE = 51; 612 613 617 public static final int MATCH_ANY_ANCESTOR = 52; 618 619 623 public static final int MATCH_IMMEDIATE_ANCESTOR = 53; 624 625 626 public static final int AXES_END_TYPES = 53; 627 628 629 private static final int NEXT_FREE_ID = 99; 630 } 631 | Popular Tags |