All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jfxcore.compiler.ast.text.NumberNode Maven / Gradle / Ivy

// Copyright (c) 2021, JFXcore. All rights reserved.
// Use of this source code is governed by the BSD-3-Clause license that can be found in the LICENSE file.

package org.jfxcore.compiler.ast.text;

import org.jfxcore.compiler.diagnostic.SourceInfo;
import org.jfxcore.compiler.ast.TypeNode;

public class NumberNode extends TextNode {

    public NumberNode(String text, SourceInfo sourceInfo) {
        super(text, sourceInfo);
    }

    private NumberNode(String text, TypeNode type, SourceInfo sourceInfo) {
        super(text, false, type, sourceInfo);
    }

    @Override
    public NumberNode deepClone() {
        return new NumberNode(getText(), getType(), getSourceInfo());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy