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

com.netflix.infix.lang.infix.antlr.XPathTreeNode Maven / Gradle / Ivy

The newest version!
package com.netflix.infix.lang.infix.antlr;

import org.antlr.runtime.Token;
import org.antlr.runtime.tree.Tree;

public class XPathTreeNode extends PredicateBaseTreeNode implements ValueTreeNode {

	@Override
	public Object getValue() {
		return getChild(0).getText();
	}

	public XPathTreeNode(Token t) {
		super(t);
	} 

	public XPathTreeNode(XPathTreeNode node) {
		super(node);
	} 

	public Tree dupNode() {
		return new XPathTreeNode(this);
	} 
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy