com.github.uscexp.grappa.extension.nodes.AstNopTreeNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grappa.extension Show documentation
Show all versions of grappa.extension Show documentation
Extension for parboiled/grappa parser.
/*
* Copyright (C) 2014 by haui - all rights reserved
*/
package com.github.uscexp.grappa.extension.nodes;
import org.parboiled.Node;
/**
* {@link AstTreeNode} for parser rules without interpreter annotation.
* does not do anything, is only needed for the tree structure.
*
* @author haui
*
*/
public class AstNopTreeNode extends AstTreeNode {
public AstNopTreeNode(Node> node, String value) {
super(node, value);
}
@Override
protected void interpret(Long id) throws ReflectiveOperationException {
}
}