com.github.uscexp.blockformatpropertyfile.parser.AstFloatingPointLiteralTreeNode 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: floatingPointLiteral.
*/
public class AstFloatingPointLiteralTreeNode extends AstBaseCommandTreeNode {
public AstFloatingPointLiteralTreeNode(String rule, String value) {
super(rule, value);
}
@Override
protected void interpretAfterChilds(Long id)
throws Exception {
super.interpretAfterChilds(id);
processStore.getStack().push(new Double(value));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy