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 JsNullLiteral extends JsLiteral.JsValueLiteral { 008 JsNullLiteral() { 009 } 010 011 @Override 012 public void accept(JsVisitor v) { 013 v.visitNull(this); 014 } 015 016 @Override 017 public void traverse(JsVisitorWithContext v, JsContext ctx) { 018 v.visit(this, ctx); 019 v.endVisit(this, ctx); 020 } 021 }