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

asset.pipeline.jsx.symbols.GenericSymbol Maven / Gradle / Ivy

There is a newer version: 5.0.1
Show newest version
package asset.pipeline.jsx.symbols;

import java.util.List;
import java.util.ArrayList;

public class GenericSymbol implements Symbol {
	private Integer line;
	private Integer column;
	private Integer position;
	private Integer length;

	private String name;
	private String value;

	private List children = new ArrayList();
	private List attributes = new ArrayList();
	private Symbol parent;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}


	public Integer getLine() {
		return line;
	}

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public Integer getColumn() {
		return column;
	}

	public Integer getPosition() {
		return position;
	}

	public List getChildren() {
		return children;
	}

	public List getAttributes() {
		return attributes;
	}

	public Symbol getParent() {
		return parent;
	}

	public void setParent(Symbol symbol) {
		this.parent = symbol;
	}

	public void appendChild(Symbol symbol) {
		children.add(symbol);
	}

	public void appendAttribute(Symbol symbol) {
		attributes.add(symbol);
	}

	public GenericSymbol(String name) {
		this.name = name;
	}

	public GenericSymbol(String name,String value,Integer line, Integer column,Integer position) {
		this.name = name;
		this.value = value;
		this.line = line;
		this.column = column;
		this.position = position;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy