All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.twenfir.ddsparser.ast.Heading Maven / Gradle / Ivy

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 visitor) {
		if ( visitor instanceof DdsVisitor ) {
			return ((DdsVisitor) visitor).visitHeading(this);
    	}
    	else {
    		return visitor.visit(this);
    	}
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy