Package com.google.gxp.compiler.base

Examples of com.google.gxp.compiler.base.UnexpectedNodeException


      // an already bound and validated call alone.
      return call.transformParams(this);
    }

    public Call visitUnboundCall(UnboundCall call) {
      throw new UnexpectedNodeException(call);
    }
View Full Code Here


    @Override
    public Expression visitObjectConstant(ObjectConstant value) {
      if (value.getType() == null) {
        // TODO(harryh): make this a better error
        throw new UnexpectedNodeException(value);
      }
      return value;
    }
View Full Code Here

      }
      return value;
    }

    public Void visitUnboundImplementsDeclaration(UnboundImplementsDeclaration uid) {
      throw new UnexpectedNodeException(uid);
    }
View Full Code Here

    protected class StatementVisitor extends DefaultingExpressionVisitor<Void>
        implements CallVisitor<Void> {

      @Override
      public Void defaultVisitExpression(Expression node) {
        throw new UnexpectedNodeException(node);
      }
View Full Code Here

        return null;
      }

      @Override
      public Void visitBoundCall(BoundCall call) {
        throw new UnexpectedNodeException(call);
      }
View Full Code Here

        throw new UnexpectedNodeException(call);
      }

      @Override
      public Void visitUnboundCall(UnboundCall call) {
        throw new UnexpectedNodeException(call);
      }
View Full Code Here

     * EscapeExpression need to be handled.
     */
    protected class ToEscapableExpressionVisitor extends DefaultingExpressionVisitor<String> {
      @Override
      public String defaultVisitExpression(Expression value) {
        throw new UnexpectedNodeException(value);
      }
View Full Code Here

     * Converts an Expression into a C++ expression
     */
    protected class ToExpressionVisitor extends DefaultingExpressionVisitor<String> {
      @Override
      public String defaultVisitExpression(Expression value) {
        throw new UnexpectedNodeException(value);
      }
View Full Code Here

      return ph.getContent().acceptVisitor(this);
    }

    @Override
    public Expression visitPlaceholderStart(PlaceholderStart value) {
      throw new UnexpectedNodeException(value);
    }
View Full Code Here

      throw new UnexpectedNodeException(value);
    }

    @Override
    public Expression visitPlaceholderEnd(PlaceholderEnd value) {
      throw new UnexpectedNodeException(value);
    }
View Full Code Here

TOP

Related Classes of com.google.gxp.compiler.base.UnexpectedNodeException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.