Class Parser<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.pattern.parser.Parser<E>
- All Implemented Interfaces:
ContextAware
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
(package private) int
static final String
(package private) final List
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) FormattingNode
C()
When the parsing step is done, the Node list can be transformed into a converter chain.(package private) FormattingNode
(package private) Node
E()
(package private) Node
Eopt()
(package private) void
expectNotNull
(Token t, String expected) (package private) Token
(package private) Token
parse()
(package private) FormattingNode
SINGLE()
(package private) Node
T()
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
MISSING_RIGHT_PARENTHESIS
- See Also:
-
DEFAULT_COMPOSITE_CONVERTER_MAP
-
REPLACE_CONVERTER_WORD
- See Also:
-
tokenList
-
pointer
int pointer
-
-
Constructor Details
-
Parser
Parser(TokenStream ts) throws ScanException - Throws:
ScanException
-
Parser
- Throws:
ScanException
-
Parser
- Throws:
ScanException
-
-
Method Details
-
compile
When the parsing step is done, the Node list can be transformed into a converter chain.- Parameters:
top
-converterMap
-- Returns:
- Throws:
ScanException
-
parse
- Throws:
ScanException
-
E
- Throws:
ScanException
-
Eopt
- Throws:
ScanException
-
T
- Throws:
ScanException
-
C
- Throws:
ScanException
-
SINGLE
- Throws:
ScanException
-
COMPOSITE
- Throws:
ScanException
-
getNextToken
Token getNextToken() -
getCurentToken
Token getCurentToken() -
advanceTokenPointer
void advanceTokenPointer() -
expectNotNull
-