com.github.uscexp.grappa.extension.parser.peg.AstGrammarTreeNode 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.parser.peg;
import java.util.logging.Logger;
import org.parboiled.Node;
/**
* Command implementation for the PegParser
rule: grammar.
*/
public class AstGrammarTreeNode extends AstPegBaseTreeNode {
private static Logger logger = Logger.getLogger(AstGrammarTreeNode.class.getName());
public AstGrammarTreeNode(Node> node, String value) {
super(node, value);
}
@Override
protected void interpret(Long id)
throws ReflectiveOperationException {
super.interpret(id);
logger.info("create class");
}
}