diff --git a/src/main/java/com/github/sommeri/less4j/EmbeddedLessGenerator.java b/src/main/java/com/github/sommeri/less4j/EmbeddedLessGenerator.java index c0d9f3c3..cc37d213 100644 --- a/src/main/java/com/github/sommeri/less4j/EmbeddedLessGenerator.java +++ b/src/main/java/com/github/sommeri/less4j/EmbeddedLessGenerator.java @@ -10,7 +10,7 @@ public EmbeddedLessGenerator() { } @Override - public String toScriptExpression(Expression value, LessProblems problemsHandler) { + public String toScript(Expression value, LessProblems problemsHandler) { InStringCssPrinter builder = new InStringCssPrinter(); builder.append(value); String replacement = builder.toString(); diff --git a/src/main/java/com/github/sommeri/less4j/EmbeddedScriptGenerator.java b/src/main/java/com/github/sommeri/less4j/EmbeddedScriptGenerator.java index c0eb3b59..4515117b 100644 --- a/src/main/java/com/github/sommeri/less4j/EmbeddedScriptGenerator.java +++ b/src/main/java/com/github/sommeri/less4j/EmbeddedScriptGenerator.java @@ -4,6 +4,6 @@ public interface EmbeddedScriptGenerator { - String toScriptExpression(Expression value, LessProblems problemsHandler); + String toScript(Expression value, LessProblems problemsHandler); } diff --git a/src/main/java/com/github/sommeri/less4j/core/compiler/expressions/strings/StringInterpolator.java b/src/main/java/com/github/sommeri/less4j/core/compiler/expressions/strings/StringInterpolator.java index 46c119f7..e0c71d83 100644 --- a/src/main/java/com/github/sommeri/less4j/core/compiler/expressions/strings/StringInterpolator.java +++ b/src/main/java/com/github/sommeri/less4j/core/compiler/expressions/strings/StringInterpolator.java @@ -42,7 +42,7 @@ protected String replacementValue(ExpressionEvaluator expressionEvaluator, Hidde return matchRange.getFullMatch(); } - return embeddedScriptEvaluator.toScriptExpression(value, problemsHandler); + return embeddedScriptEvaluator.toScript(value, problemsHandler); } }