Example #1
0
		public void ConditionalOrExpression()
		{
			ConditionalAndExpression();
			while(true)
			{
				if (GetCurrentTokenKind() != ParserConstants.LOGICAL_OR)
				{
					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;
				}
				ConsumeToken(ParserConstants.LOGICAL_OR);
				ASTOrNode jjtn001 = new ASTOrNode(this, ParserTreeConstants.OR_NODE);
				bool jjtc001 = true;
				nodeTree.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(Exception exception)
				{
					nodeTree.ClearNodeScope(jjtn001);
					jjtc001 = false;
					if (exception is SystemException)
					{
						throw;
					}
					if (exception is ParseException)
					{
						throw;
					}
					throw (ApplicationException) exception;
				}
				finally
				{
					if (jjtc001)
					{
						nodeTree.CloseNodeScope(jjtn001, 2);
					}
				}
			}
			//UPGRADE_NOTE: Label 'label_13_brk' was added. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1011"'
			label_13_brk:
			;
		}
Example #2
0
 public virtual Object Visit(ASTOrNode node, Object data)
 {
     data = node.ChildrenAccept(this, data);
     return(data);
 }
Example #3
0
 /// <summary>Display an ASTOrNode ( || )
 /// </summary>
 public override Object Visit(ASTOrNode node, Object data)
 {
     return(ShowNode(node, data));
 }
Example #4
0
 /// <summary>Display an ASTOrNode ( || )
 /// </summary>
 public override System.Object visit(ASTOrNode node, System.Object data)
 {
     return(showNode(node, data));
 }
Example #5
0
 public virtual System.Object visit(ASTOrNode node, System.Object data)
 {
     data = node.childrenAccept(this, data);
     return(data);
 }
Example #6
0
 public override object Visit(ASTOrNode node, object data)
 {
     return(this.ShowNode(node, data));
 }