jtl-eclipse-master/ASP.resource.asp/src/ASP/resource/asp/analysis/AspTEXTTokenResolver.java
/**
 * <copyright>
 * </copyright>
 *
 * 
 */
package ASP.resource.asp.analysis;

public class AspTEXTTokenResolver implements ASP.resource.asp.IAspTokenResolver {
	
	private ASP.resource.asp.analysis.AspDefaultTokenResolver defaultTokenResolver = new ASP.resource.asp.analysis.AspDefaultTokenResolver(true);
	
	public String deResolve(Object value, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EObject container) {
		// By default token de-resolving is delegated to the DefaultTokenResolver.
		String result = defaultTokenResolver.deResolve(value, feature, container, null, null, null);
		return result;
	}
	
	public void resolve(String lexem, org.eclipse.emf.ecore.EStructuralFeature feature, ASP.resource.asp.IAspTokenResolveResult result) {
		// By default token resolving is delegated to the DefaultTokenResolver.
		defaultTokenResolver.resolve(lexem, feature, result, null, null, null);
	}
	
	public void setOptions(java.util.Map<?,?> options) {
		defaultTokenResolver.setOptions(options);
	}
	
}
