public abstract class SuperLessParser
extends org.antlr.runtime.Parser
| Constructor and Description |
|---|
SuperLessParser(org.antlr.runtime.TokenStream input,
List<LessCompiler.Problem> errors) |
SuperLessParser(org.antlr.runtime.TokenStream input,
org.antlr.runtime.RecognizerSharedState state) |
SuperLessParser(org.antlr.runtime.TokenStream input,
org.antlr.runtime.RecognizerSharedState state,
List<LessCompiler.Problem> errors) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
enterRule(org.antlr.runtime.ParserRuleReturnScope retval,
String rulename) |
List<LessCompiler.Problem> |
getAllErrors() |
String |
getErrorHeader(org.antlr.runtime.RecognitionException e) |
String |
getErrorMessage(org.antlr.runtime.RecognitionException e,
String[] tokenNames) |
abstract org.antlr.runtime.tree.TreeAdaptor |
getTreeAdaptor() |
boolean |
hasErrors() |
protected void |
leaveRule() |
void |
reportError(org.antlr.runtime.RecognitionException e) |
getCurrentInputSymbol, getMissingSymbol, getSourceName, getTokenStream, reset, setTokenStream, traceIn, traceOutalreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, emitErrorMessage, endResync, failed, getBacktrackingLevel, getGrammarFileName, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, getTokenNames, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, setBacktrackingLevel, toStrings, traceIn, traceOutpublic String[] tokenErrorNames
public static final Map<String,String> ALTERNATIVE_NAMES_FOR_ERROR_REPORTING
protected static final String RULE_STYLESHEET
protected static final String RULE_FONT_FACE
protected static final String RULE_MEDIA
protected static final String RULE_NAMESPACE_REFERENCE
protected static final String RULE_VARIABLE_REFERENCE
protected static final String RULE_VARIABLE_DECLARATION
protected static final String RULE_MIXIN_REFERENCE
protected static final String RULE_ABSTRACT_MIXIN_OR_NAMESPACE
protected static final String RULE_PSEUDO_PAGE
protected static final String RULE_DECLARATION
protected static final String RULE_EXPRESSION
protected static final String RULE_IMPORTS
protected static final String RULE_CHARSET
protected static final String RULE_PAGE
protected static final String RULE_RULESET
protected static final String RULE_SELECTOR
protected static final String RULE_MEDIUM
protected static final String RULE_KEYFRAME
protected static final String RULE_VIEWPORT
protected static final String RULE_SUPPORTS
protected static final String RULE_DOCUMENT
protected static final String RULE_PAGE_MARGIN_BOX
protected List<LessCompiler.Problem> errors
protected ParsersSemanticPredicates predicates
protected Stack<com.github.sommeri.less4j.core.parser.EnterRuleInfo> paraphrases
public SuperLessParser(org.antlr.runtime.TokenStream input,
List<LessCompiler.Problem> errors)
public SuperLessParser(org.antlr.runtime.TokenStream input,
org.antlr.runtime.RecognizerSharedState state,
List<LessCompiler.Problem> errors)
public SuperLessParser(org.antlr.runtime.TokenStream input,
org.antlr.runtime.RecognizerSharedState state)
public abstract org.antlr.runtime.tree.TreeAdaptor getTreeAdaptor()
public List<LessCompiler.Problem> getAllErrors()
public boolean hasErrors()
public void reportError(org.antlr.runtime.RecognitionException e)
reportError in class org.antlr.runtime.BaseRecognizerpublic String getErrorHeader(org.antlr.runtime.RecognitionException e)
getErrorHeader in class org.antlr.runtime.BaseRecognizerpublic String getErrorMessage(org.antlr.runtime.RecognitionException e, String[] tokenNames)
getErrorMessage in class org.antlr.runtime.BaseRecognizerprotected void enterRule(org.antlr.runtime.ParserRuleReturnScope retval,
String rulename)
protected void leaveRule()
Copyright © 2012-2013. All Rights Reserved.