Example #1
0
		public virtual Object Visit(ASTObjectArray node, Object data)
		{
			data = node.ChildrenAccept(this, data);
			return data;
		}
Example #2
0
		public override Object Visit(ASTObjectArray node, Object data)
		{
			return ShowNode(node, data);
		}
	public virtual System.Object visit(ASTObjectArray node, System.Object data) {
	    data = node.childrenAccept(this, data);
	    return data;
	}
Example #4
0
	public void  ObjectArray() {
	    /*@bgen(jjtree) ObjectArray */
	    ASTObjectArray jjtn000 = new ASTObjectArray(this, ParserTreeConstants.JJTOBJECTARRAY);
	    bool jjtc000 = true;
	    jjtree.openNodeScope(jjtn000);
	    //UPGRADE_NOTE: Exception 'java.lang.Throwable' was converted to ' ' which has different behavior. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1100"'
	    try {
		jj_consume_token(ParserConstants.LBRACKET);
		switch ((jj_ntk_Renamed_Field == - 1)?jj_ntk():jj_ntk_Renamed_Field) {
case ParserConstants.LBRACKET: case ParserConstants.WHITESPACE: case ParserConstants.STRING_LITERAL: case ParserConstants.TRUE: case ParserConstants.FALSE: case ParserConstants.NUMBER_LITERAL: case ParserConstants.IDENTIFIER: case ParserConstants.LCURLY:
			Parameter();
			while (true) {
			    switch ((jj_ntk_Renamed_Field == - 1)?jj_ntk():jj_ntk_Renamed_Field) {
				case ParserConstants.COMMA:
				    ;
				    break;

				default:
				    jj_la1[9] = jj_gen;
				    //UPGRADE_NOTE: Labeled break statement was changed to a goto statement. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1012"'
				    goto label_5_brk;

			    }
			    jj_consume_token(ParserConstants.COMMA);
			    Parameter();
			}
			//UPGRADE_NOTE: Label 'label_5_brk' was added. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1011"'
label_5_brk:
			;

			break;

		    default:
			jj_la1[10] = jj_gen;
			;
			break;

		}
		jj_consume_token(ParserConstants.RBRACKET);
	    } catch (System.Exception jjte000) {
		if (jjtc000) {
		    jjtree.clearNodeScope(jjtn000);
		    jjtc000 = false;
		} else {
		    jjtree.popNode();
		}
		if (jjte000 is System.SystemException) { {
			if (true)
			    throw (System.SystemException) jjte000;
		    }
		}
		if (jjte000 is ParseException) { {
			if (true)
			    throw (ParseException) jjte000;
		    }
		} {
		    if (true)
			throw (System.ApplicationException) jjte000;
		}
	    } finally {
		if (jjtc000) {
		    jjtree.closeNodeScope(jjtn000, true);
		}
	    }
	}
Example #5
0
 public override System.Object visit(ASTObjectArray node, System.Object data)
 {
     return showNode(node, data);
 }