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

com.laamella.sexpression.model.Whitespace Maven / Gradle / Ivy

package com.laamella.sexpression.model;

import com.laamella.sexpression.visitor.Visitor;

public class Whitespace extends Meta {
    public String whitespace;

    public Whitespace(Node parent, String whitespace) {
        super(parent);
        this.whitespace = whitespace;
    }

    @Override
    public  R visit(Visitor visitor, A arg) throws Exception {
        return visitor.accept(this, arg);
    }

    @Override
    public boolean isComment() {
        return false;
    }

    @Override
    public boolean isWhitespace() {
        return true;
    }

    @Override
    public Whitespace asWhitespace() {
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy