Package anvil.script.expression

Examples of anvil.script.expression.IsNode


          ;
        }
        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        case DEFINED:
          jj_consume_token(DEFINED);
        push(new IsNode(pop(), IsNode.IS_DEFINED));
          break;
        case UNDEFINED:
          jj_consume_token(UNDEFINED);
        push(new IsNode(pop(), IsNode.IS_UNDEFINED));
          break;
        case NULL:
          jj_consume_token(NULL);
        push(new IsNode(pop(), Any.IS_NULL));
          break;
        case BOOLEAN:
          jj_consume_token(BOOLEAN);
        push(new IsNode(pop(), Any.IS_BOOLEAN));
          break;
        case INT:
          jj_consume_token(INT);
        push(new IsNode(pop(), Any.IS_INT));
          break;
        case FLOAT:
          jj_consume_token(FLOAT);
        push(new IsNode(pop(), Any.IS_DOUBLE));
          break;
        case STRING:
          jj_consume_token(STRING);
        push(new IsNode(pop(), Any.IS_STRING));
          break;
        case RANGE:
          jj_consume_token(RANGE);
        push(new IsNode(pop(), Any.IS_RANGE));
          break;
        case MAP:
          jj_consume_token(MAP);
        push(new IsNode(pop(), Any.IS_MAP));
          break;
        case OPEN:
          jj_consume_token(OPEN);
          jj_consume_token(CLOSE);
        push(new IsNode(pop(), Any.IS_TUPLE));
          break;
        case BEGIN:
          jj_consume_token(BEGIN);
          jj_consume_token(END);
        push(new IsNode(pop(), Any.IS_LIST));
          break;
        case OPEN_BRACKET:
          jj_consume_token(OPEN_BRACKET);
          jj_consume_token(CLOSE_BRACKET);
        push(new IsNode(pop(), Any.IS_ARRAY));
          break;
        case CLASS:
          jj_consume_token(CLASS);
        push(new IsNode(pop(), Any.IS_CLASS));
          break;
        case ET:
          jj_consume_token(ET);
        push(new IsNode(pop(), Any.IS_REF));
          break;
        case MODULE:
        case SYMBOL:
          name = Name(null);
        Location location = toLocation(t);
View Full Code Here

TOP

Related Classes of anvil.script.expression.IsNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.