001 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 002 // for details. All rights reserved. Use of this source code is governed by a 003 // BSD-style license that can be found in the LICENSE file. 004 005 package com.google.dart.compiler.backend.js.ast; 006 007 public final class JsPrefixOperation extends JsUnaryOperation { 008 public JsPrefixOperation(JsUnaryOperator op) { 009 this(op, null); 010 } 011 012 public JsPrefixOperation(JsUnaryOperator op, JsExpression arg) { 013 super(op, arg); 014 } 015 016 @Override 017 public void accept(JsVisitor v) { 018 v.visitPrefixOperation(this); 019 } 020 }