ImportStatement.java

package org.sterling.source.syntax;

import org.sterling.SterlingException;

public class ImportStatement extends SourceNode {

    public ImportStatement(NodeKind kind) {
        super(kind);
    }

    @Override
    public <R, S> R accept(SourceVisitor<R, S> visitor, S state) throws SterlingException {
        return visitor.visitImportStatement(this, state);
    }

    public SourceNode getAlias() {
        return getChildAt(1);
    }
}