blob: f6a776b1d29ef3e122597a44c114e1b390d2fcb9 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*******************************************************************************/
package org.eclipse.dltk.ruby.ast;
import org.eclipse.dltk.ast.ASTListNode;
import org.eclipse.dltk.ast.ASTNode;
import org.eclipse.dltk.ast.ASTVisitor;
public class RubyParenthesisExpression extends ASTNode {
private ASTListNode internals;
public RubyParenthesisExpression(int start, int end,
ASTListNode internals) {
super(start, end);
this.internals = internals;
}
public ASTListNode getInternals() {
return internals;
}
public void setInternals(ASTListNode internals) {
this.internals = internals;
}
public int getKind() {
// TODO Auto-generated method stub
return 0;
}
@Override
public void traverse(ASTVisitor visitor) throws Exception {
if (visitor.visit(this)) {
if (internals != null)
internals.traverse(visitor);
visitor.endvisit(this);
}
}
}