/*******************************************************************************
* Copyright (c) 2009-2011 CWI
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* * Jurgen J. Vinju - Jurgen.Vinju@cwi.nl - CWI
* * Arnold Lankamp - Arnold.Lankamp@cwi.nl
*******************************************************************************/
package org.rascalmpl.eclipse.editor;
public class Token{
private final String category;
private final int offset;
private final int length;
public Token(String category, int offset, int length){
super();
this.category = category;
this.offset = offset;
this.length = length;
}
public String getCategory(){
return category;
}
public int getOffset(){
return offset;
}
public int getLength(){
return length;
}
}