Beispiel #1
0
		public void Visit(ExpressionStatement expression)
		{
			Indent();
			expression.Expression.Accept(this);
			Builder.AppendLine(";");
		}
Beispiel #2
0
 void Analyze(ExpressionStatement Stmt)
 {
     SetCurrentLineAndCharNos(Stmt);
     if (Stmt.Expression != null) Analyze(Stmt.Expression);
 }
Beispiel #3
0
 public void Visit(ExpressionStatement statement)
 {
     statement.Expression.Accept(this);
 }
Beispiel #4
0
 void Analyze(ExpressionStatement Stmt)
 {
     SetCurrentLineAndCharNos(Stmt);
     if (Stmt.Expression != null) Analyze(Stmt.Expression);
     if (TraceKeyword)
     {
         if(Stmt.Expression.GetType().Name.Equals("Identifier"))
         {
             Identifier Id = (Identifier)Stmt.Expression;
             if(Id.Text.Equals(KeywordToTrace, StringComparison.OrdinalIgnoreCase))
             {
                 KeywordContexts.Add("Expression");
             }
         }
     }
 }