class BooleanTokenExpression extends Token {

    private static final Logger logger = LoggerFactory.getLogger(BooleanTokenExpression.class);

    private static final long serialVersionUID = 7003426193298054476L;


    public BooleanTokenExpression(final String value) {
        super(Boolean.valueOf(value));
    }

    public BooleanTokenExpression(final Boolean value) {
        super(value);
    }


    
    static BooleanTokenExpression parseBooleanTokenExpression(final String input) {<FILL_FUNCTION_BODY>}
    

    
    static Object executeBooleanTokenExpression(
            final IExpressionContext context,
            final BooleanTokenExpression expression,
            final StandardExpressionExecutionContext expContext) {

        if (logger.isTraceEnabled()) {
            logger.trace("[THYMELEAF][{}] Evaluating boolean token: \"{}\"", TemplateEngine.threadIndex(), expression.getStringRepresentation());
        }
        
        return expression.getValue();
        
    }
    
}

        if ("true".equalsIgnoreCase(input) || "false".equalsIgnoreCase(input)) {
            return new BooleanTokenExpression(input);
        }
        return null;
    
<methods>public java.lang.String getStringRepresentation() ,public java.lang.Object getValue() ,public static boolean isTokenChar(java.lang.String, int) ,public java.lang.String toString() <variables>private static final long serialVersionUID,private final non-sealed java.lang.Object value