com.github.uscexp.blockformatpropertyfile.parser.AstBooleanLiteralTreeNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BlockFormatPropertyFile Show documentation
Show all versions of BlockFormatPropertyFile Show documentation
Property file in java style block format.
/*
* Copyright (C) 2014 by haui - all rights reserved
*/
package com.github.uscexp.blockformatpropertyfile.parser;
/**
* Command implementation for the PropertyFileParser
rule: booleanLiteral.
*/
public class AstBooleanLiteralTreeNode extends AstBaseCommandTreeNode {
public AstBooleanLiteralTreeNode(String rule, String value) {
super(rule, value);
}
@Override
protected void interpretAfterChilds(Long id)
throws Exception {
super.interpretAfterChilds(id);
processStore.getStack().push(new Boolean(value));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy