com.metaweb.lessen
Class LessParser

java.lang.Object
  extended by com.metaweb.lessen.ParserBase
      extended by com.metaweb.lessen.LessParser
All Implemented Interfaces:
Tokenizer

public class LessParser
extends ParserBase
implements Tokenizer


Field Summary
protected  List<Token> _tokens
           
 
Fields inherited from class com.metaweb.lessen.ParserBase
_resourceFinder, _scope, _tokenizer, _topLevel
 
Constructor Summary
LessParser(Tokenizer tokenizer, ResourceFinder resourceFinder)
           
LessParser(Tokenizer tokenizer, ResourceFinder resourceFinder, Scope scope)
           
 
Method Summary
static boolean canBeIntermediateValue(Object o)
           
protected  void fill()
           
 Token getToken()
           
 void next()
           
protected  void outputToken(Token t)
           
protected  void passInnerBlockTokenThrough(Token t)
           
 
Methods inherited from class com.metaweb.lessen.ParserBase
createCssBlockParser, createLessFunctionDefinitionParser, invokeMixinFunction, lookOverWhitespaceAndComment, outputEvaluable, parseBlockStatement, parseBody, parseExpression, parseFactor, parseFlatStatement, parseRestOfMixinFunctionInvocation, parseStatement, parseTerm, parseVariableDeclaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokens

protected final List<Token> _tokens
Constructor Detail

LessParser

public LessParser(Tokenizer tokenizer,
                  ResourceFinder resourceFinder)

LessParser

public LessParser(Tokenizer tokenizer,
                  ResourceFinder resourceFinder,
                  Scope scope)
Method Detail

canBeIntermediateValue

public static boolean canBeIntermediateValue(Object o)

getToken

public Token getToken()
Specified by:
getToken in interface Tokenizer

next

public void next()
Specified by:
next in interface Tokenizer

fill

protected void fill()

passInnerBlockTokenThrough

protected void passInnerBlockTokenThrough(Token t)
Specified by:
passInnerBlockTokenThrough in class ParserBase

outputToken

protected void outputToken(Token t)
Specified by:
outputToken in class ParserBase


Copyright © 2011. All Rights Reserved.