Top Description Fields Constructors Methods
ch.qos.logback.core.subst

public Class Parser

extends Object
Class Inheritance
Imports
ch.qos.logback.core.CoreConstants, ch.qos.logback.core.spi.ScanException, java.util.List

Parse a token list returning a node chain.
Author
Ceki Gulcu

Field Summary

Modifier and TypeField and Description
public static final String
pack-priv int
pack-priv final List<Token>

Constructor Summary

AccessConstructor and Description
public
Parser(List<Token> tokenList)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
private Node
C()

private Node
E()

private Node
Eopt()

pack-priv void
pack-priv void
expectNotNull(Token t, String expected)

private boolean
private Node
public Node
pack-priv Token
private Node
T()

private Node
V()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EXPECTING_DATA_AFTER_LEFT_ACCOLADEback to summary
public static final String EXPECTING_DATA_AFTER_LEFT_ACCOLADE
pointerback to summary
pack-priv int pointer
tokenListback to summary
pack-priv final List<Token> tokenList

Constructor Detail

Parserback to summary
public Parser(List<Token> tokenList)

Method Detail

advanceTokenPointerback to summary
pack-priv void advanceTokenPointer()
Cback to summary
private Node C() throws ScanException
Eback to summary
private Node E() throws ScanException
Eoptback to summary
private Node Eopt() throws ScanException
expectCurlyRightback to summary
pack-priv void expectCurlyRight(Token t) throws ScanException
expectNotNullback to summary
pack-priv void expectNotNull(Token t, String expected)
isDefaultTokenback to summary
private boolean isDefaultToken(Token t)
makeNewLiteralNodeback to summary
private Node makeNewLiteralNode(String s)
parseback to summary
public Node parse() throws ScanException
peekAtCurentTokenback to summary
pack-priv Token peekAtCurentToken()
Tback to summary
private Node T() throws ScanException
Vback to summary
private Node V() throws ScanException