package hiro.yoshioka.ast.sql.mongo;

import hiro.yoshioka.ast.sql.IToken;

import java.util.regex.Matcher;

public class MongoToken implements IToken {

	public int start, end;

	public String image;

	public MongoToken next;

	public IToken specialToken;

	public MongoToken(Matcher m, int i) {
		this.start = m.start(i);
		this.end = m.end(i);
		this.image = m.group(i);
	}

	public String toString() {
		return image;
	}

	public int getStart() {
		return start;
	}

	public int getEnd() {
		return end;
	}

	public String getImage() {
		return image;
	}

	@Override
	public int getKind() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getBeginLine() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getBeginColumn() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getEndLine() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getEndColumn() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public IToken getNext() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IToken getSpecialToken() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setSpecialToken(IToken t) {
		// TODO Auto-generated method stub

	}

}
