public override bool Visit(AstThisMethodCallStatement node)
 {
     ErrorIfIsNull(node.Expr);
     return true;
 }
Пример #2
0
 // #STATEMENT #FUNC_CALL LINE_END
 private void ConstructFuncCallStatement()
 {
     var funcCallExpr = nodes.Pop() as AstFunctionCallExpression;
     if (funcCallExpr is AstThisMethodCallExpression)
     {
         var stmt = new AstThisMethodCallStatement(funcCallExpr as AstThisMethodCallExpression);
         PushNode(stmt);
     }
     else if (funcCallExpr is AstExternalMethodCallExpression)
     {
         var stmt = new AstExternalMethodCallStatement(funcCallExpr as AstExternalMethodCallExpression);
         PushNode(stmt);
     }
     else
     {
         throw new Exception("bad code detected again.");
     }
 }
 public override bool Visit(AstThisMethodCallStatement node)
 {
     return true;
 }
Пример #4
0
 public abstract bool Visit(AstThisMethodCallStatement node);