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

org.jruby.ast.NilImplicitNode Maven / Gradle / Ivy

package org.jruby.ast;

import org.jruby.lexer.yacc.ISourcePosition;

/**
 * A node which behaves like a nil node, but is not actually present in the AST as a syntactical
 * element (e.g. IDE's should ignore occurences of this node.  We have this as seperate subclass
 * so that IDE consumers can more easily ignore these.
 */
public class NilImplicitNode extends NilNode implements InvisibleNode {
    public static final NilImplicitNode NIL = new NilImplicitNode();
    
    public NilImplicitNode() {
        super(ISourcePosition.INVALID_POSITION);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy