All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sommeri.less4j.core.ast.VariableDeclaration Maven / Gradle / Ivy

Go to download

Less language is an extension of css and less4j compiles it into regular css. It adds several dynamic features into css: variables, expressions, nested rules. Less4j is a port. The original compiler was written in JavaScript and is called less.js. The less language is mostly defined in less.js documentation/issues and by what less.js actually do. Links to less.js: * home page: http://lesscss.org/ * source code & issues: https://github.com/cloudhead/less.js

There is a newer version: 1.17.2
Show newest version
package com.github.sommeri.less4j.core.ast;

import com.github.sommeri.less4j.core.parser.HiddenTokenAwareTree;

public class VariableDeclaration extends AbstractVariableDeclaration {

  public VariableDeclaration(AbstractVariableDeclaration copy) {
    super(copy);
  }

  public VariableDeclaration(HiddenTokenAwareTree underlyingStructure, Variable variable, Expression value) {
    super(underlyingStructure, variable, value);
  }

  @Override
  public ASTCssNodeType getType() {
    return ASTCssNodeType.VARIABLE_DECLARATION;
  }

  @Override
  public VariableDeclaration clone() {
    VariableDeclaration clone = (VariableDeclaration) super.clone();
    return clone;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy