/** * <copyright> * </copyright> * * */ package org.emftext.term.propositional.expression.resource.expression.mopp; public class ExpressionDynamicTokenStyler { /** * This method is called to dynamically style tokens. * * @param resource the TextResource that contains the token * @param token the token to obtain a style for * @param staticStyle the token style as set in the editor preferences (is * <code>null</code> if syntax highlighting for the token is disabled) */ public org.emftext.term.propositional.expression.resource.expression.IExpressionTokenStyle getDynamicTokenStyle(org.emftext.term.propositional.expression.resource.expression.IExpressionTextResource resource, org.emftext.term.propositional.expression.resource.expression.IExpressionTextToken token, org.emftext.term.propositional.expression.resource.expression.IExpressionTokenStyle staticStyle) { // The default implementation returns the static style without any changes. To // implement dynamic token styling, set the overrideDynamicTokenStyler option to // <code>false</code> and customize this method. return staticStyle; } }