com.github.uscexp.grappa.extension.parser.peg.AstOPTIONTreeNode 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.
The newest version!
/*
* Copyright (C) 2014 - 2016 by haui - all rights reserved
*/
package com.github.uscexp.grappa.extension.parser.peg;
/**
* Command implementation for the PegParser
rule: OPTION.
*/
public class AstOPTIONTreeNode extends AstPegBaseTreeNode {
public AstOPTIONTreeNode(String rule, String value) {
super(rule, value);
}
@Override
protected void interpretAfterChilds(Long id) throws ReflectiveOperationException {
super.interpretAfterChilds(id);
this.openProcessStore.getTierStack().push(OPTIONAL);
}
}