Please look at the Parser.jjt file which is what controls the generation of this class. *
Inheritance: NVelocity.Runtime.Parser.Node.SimpleNode
コード例 #1
0
ファイル: BaseVisitor.cs プロジェクト: rambo-returns/MonoRail
		public virtual Object Visit(ASTOrNode node, Object data)
		{
			data = node.ChildrenAccept(this, data);
			return data;
		}
コード例 #2
0
		/// <summary>Display an ASTOrNode ( || )
		/// </summary>
		public override Object Visit(ASTOrNode node, Object data)
		{
			return ShowNode(node, data);
		}
コード例 #3
0
	public virtual System.Object visit(ASTOrNode node, System.Object data) {
	    data = node.childrenAccept(this, data);
	    return data;
	}
コード例 #4
0
	public void  ConditionalOrExpression() {
	    ConditionalAndExpression();
	    while (true) {
		switch ((jj_ntk_Renamed_Field == - 1)?jj_ntk():jj_ntk_Renamed_Field) {
		    case ParserConstants.LOGICAL_OR:
			;
			break;

		    default:
			jj_la1[37] = 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_13_brk;

		}
		jj_consume_token(ParserConstants.LOGICAL_OR);
		ASTOrNode jjtn001 = new ASTOrNode(this, ParserTreeConstants.JJTORNODE);
		bool jjtc001 = true;
		jjtree.openNodeScope(jjtn001);
		//UPGRADE_NOTE: Exception 'java.lang.Throwable' was converted to ' ' which has different behavior. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1100"'
		try {
		    ConditionalAndExpression();
		} catch (System.Exception jjte001) {
		    if (jjtc001) {
			jjtree.clearNodeScope(jjtn001);
			jjtc001 = false;
		    } else {
			jjtree.popNode();
		    }
		    if (jjte001 is System.SystemException) { {
			    if (true)
				throw (System.SystemException) jjte001;
			}
		    }
		    if (jjte001 is ParseException) { {
			    if (true)
				throw (ParseException) jjte001;
			}
		    } {
			if (true)
			    throw (System.ApplicationException) jjte001;
		    }
		} finally {
		    if (jjtc001) {
			jjtree.closeNodeScope(jjtn001, 2);
		    }
		}
	    }
	    //UPGRADE_NOTE: Label 'label_13_brk' was added. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1011"'
label_13_brk:
	    ;

	}
コード例 #5
0
ファイル: NodeViewMode.cs プロジェクト: DF-thangld/web_game
 /// <summary>Display an ASTOrNode ( || )
 /// </summary>
 public override System.Object visit(ASTOrNode node, System.Object data)
 {
     return showNode(node, data);
 }