com.metaweb.lessen
Class BlockParser
java.lang.Object
com.metaweb.lessen.ParserBase
com.metaweb.lessen.BlockParser
- All Implemented Interfaces:
- Tokenizer
public class BlockParser
- extends ParserBase
- implements Tokenizer
| Methods inherited from class com.metaweb.lessen.ParserBase |
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 |
_pathTokens
protected List<Token> _pathTokens
_openToken
protected Token _openToken
_bodyTokens
protected List<Token> _bodyTokens
_closeToken
protected Token _closeToken
_nestChildren
protected boolean _nestChildren
_childrenTokens
protected List<Token> _childrenTokens
BlockParser
public BlockParser(BufferedTokenizer tokenizer,
ResourceFinder resourceFinder,
Scope scope,
List<Token> parentPathTokens,
boolean nestChildren)
getToken
public Token getToken()
- Specified by:
getToken in interface Tokenizer
next
public void next()
- Specified by:
next in interface Tokenizer
parse
protected void parse()
createCssBlockParser
protected Tokenizer createCssBlockParser(boolean nestChildren)
- Overrides:
createCssBlockParser in class ParserBase
outputToken
protected void outputToken(Token t)
- Specified by:
outputToken in class ParserBase
passInnerBlockTokenThrough
protected void passInnerBlockTokenThrough(Token t)
- Specified by:
passInnerBlockTokenThrough in class ParserBase
Copyright © 2011. All Rights Reserved.