Package com.github.sommeri.less4j

Examples of com.github.sommeri.less4j.EmbeddedLessGenerator


  private static final Pattern STR_INTERPOLATION = Pattern.compile("@\\{([^\\{\\}@])*\\}");
  private final EmbeddedScriptGenerator embeddedScriptEvaluator;
  private final ProblemsHandler problemsHandler;

  public StringInterpolator(ProblemsHandler problemsHandler) {
    this(new EmbeddedLessGenerator(), problemsHandler);
  }
View Full Code Here


    super();
    this.lazyScope = scope == null ? new NullScope() : scope;
    this.problemsHandler = problemsHandler;
    arithmeticCalculator = new ArithmeticCalculator(problemsHandler);
    colorsCalculator = new ColorsCalculator(problemsHandler);
    embeddedScripting = configuration.getEmbeddedScriptGenerator() == null ? new EmbeddedLessGenerator() : configuration.getEmbeddedScriptGenerator();
    stringInterpolator = new StringInterpolator(problemsHandler);
    embeddedScriptInterpolator = new StringInterpolator(embeddedScripting, problemsHandler);

    functions.add(new CustomFunctions(problemsHandler, configuration.getCustomFunctions()));
    functions.add(new MathFunctions(problemsHandler));
View Full Code Here

TOP

Related Classes of com.github.sommeri.less4j.EmbeddedLessGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.