it.twenfir.ddsparser.ast.Heading Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ddsparser Show documentation
Show all versions of ddsparser Show documentation
An ANTLR4 parser for IBM's Data Description Specifications
The newest version!
package it.twenfir.ddsparser.ast;
import it.twenfir.antlr.ast.AstNode;
import it.twenfir.antlr.ast.AstVisitor;
import it.twenfir.antlr.ast.Location;
public class Heading extends AstNode {
public Heading(Location location) {
super(location);
}
public Description getDescription() {
return getChild(Description.class);
}
public ValueT accept(AstVisitor extends ValueT> visitor) {
if ( visitor instanceof DdsVisitor ) {
return ((DdsVisitor extends ValueT>) visitor).visitHeading(this);
}
else {
return visitor.visit(this);
}
}
}