001/* 002 * Copyright (c) 2012-2018 Institut National des Sciences Appliquées de Lyon (INSA Lyon) and others 003 * 004 * This program and the accompanying materials are made available under the 005 * terms of the Eclipse Public License 2.0 which is available at 006 * http://www.eclipse.org/legal/epl-2.0. 007 * 008 * SPDX-License-Identifier: EPL-2.0 009 */ 010 011package org.eclipse.golo.compiler.parser; 012 013public class ASTThrow extends GoloASTNode { 014 015 public ASTThrow(int id) { 016 super(id); 017 } 018 019 public ASTThrow(GoloParser p, int id) { 020 super(p, id); 021 } 022 023 @Override 024 public Object jjtAccept(GoloParserVisitor visitor, Object data) { 025 return visitor.visit(this, data); 026 } 027 028 @Override 029 public String toString() { 030 return "ASTThrow{}"; 031 } 032} 033