示例#1
0
		public void Assignment()
		{
			/*@bgen(jjtree) #Assignment( 2) */
			ASTAssignment jjtn000 = new ASTAssignment(this, ParserTreeConstants.ASSIGNMENT);
			bool jjtc000 = true;
			nodeTree.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
			{
				PrimaryExpression();
				ConsumeToken(ParserConstants.EQUALS);
				Expression();
			}
			catch(Exception exception)
			{
				nodeTree.ClearNodeScope(jjtn000);
				jjtc000 = false;
				if (exception is SystemException)
				{
					throw;
				}
				if (exception is ParseException)
				{
					throw;
				}
				throw (ApplicationException) exception;
			}
			finally
			{
				if (jjtc000)
				{
					nodeTree.CloseNodeScope(jjtn000, 2);
				}
			}
		}
示例#2
0
 public virtual Object Visit(ASTAssignment node, Object data)
 {
     data = node.ChildrenAccept(this, data);
     return(data);
 }
示例#3
0
 /// <summary>Display an ASTAssignment node ( = )
 /// </summary>
 public override Object Visit(ASTAssignment node, Object data)
 {
     return(ShowNode(node, data));
 }
示例#4
0
 /// <summary>Display an ASTAssignment node ( = )
 /// </summary>
 public override System.Object visit(ASTAssignment node, System.Object data)
 {
     return(showNode(node, data));
 }
示例#5
0
 public virtual System.Object visit(ASTAssignment node, System.Object data)
 {
     data = node.childrenAccept(this, data);
     return(data);
 }
示例#6
0
 public override object Visit(ASTAssignment node, object data)
 {
     return(this.ShowNode(node, data));
 }