public class CatalogParser extends antlr.LLkParser implements CatalogTokenTypes
Modifier and Type | Field and Description |
---|---|
static String[] |
_tokenNames |
static antlr.collections.impl.BitSet |
_tokenSet_0 |
static antlr.collections.impl.BitSet |
_tokenSet_1 |
static antlr.collections.impl.BitSet |
_tokenSet_2 |
static antlr.collections.impl.BitSet |
_tokenSet_3 |
static antlr.collections.impl.BitSet |
_tokenSet_4 |
static antlr.collections.impl.BitSet |
_tokenSet_5 |
static antlr.collections.impl.BitSet |
_tokenSet_6 |
static antlr.collections.impl.BitSet |
_tokenSet_7 |
static antlr.collections.impl.BitSet |
_tokenSet_8 |
static antlr.collections.impl.BitSet |
_tokenSet_9 |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
CATALOG, COMMENT, DOMAIN, EOF, EXTRACTION, FLAG, MESSAGE, MSGCTXT, MSGID, MSGID_PLURAL, MSGSTR, MSGSTR_PLURAL, NULL_TREE_LOOKAHEAD, OBSOLETE, PLURALITY, PREV_MSGCTXT, PREV_MSGID, PREV_MSGID_PLURAL, REFERENCE
Modifier | Constructor and Description |
---|---|
|
CatalogParser(antlr.ParserSharedInputState state) |
|
CatalogParser(antlr.TokenBuffer tokenBuf) |
protected |
CatalogParser(antlr.TokenBuffer tokenBuf,
int k) |
|
CatalogParser(antlr.TokenStream lexer) |
protected |
CatalogParser(antlr.TokenStream lexer,
int k) |
Modifier and Type | Method and Description |
---|---|
protected antlr.collections.AST |
buildCatalogNode(antlr.collections.AST messageBlocks) |
protected void |
buildTokenTypeASTClassMap() |
void |
catalog()
Main rule
|
void |
catalogComment() |
void |
domain() |
void |
entries() |
void |
extractedComment() |
void |
flag() |
protected void |
handleCatalogComment(antlr.collections.AST comment) |
protected void |
handleDomain(antlr.collections.AST domain) |
protected void |
handleExtractedComment(antlr.collections.AST comment) |
protected void |
handleFlag(antlr.collections.AST flag) |
protected void |
handleMessageBlock(antlr.collections.AST messageBlock) |
protected void |
handleMsgctxt(antlr.collections.AST msgctxt) |
protected void |
handleMsgid(antlr.collections.AST msgid) |
protected void |
handleMsgidPlural(antlr.collections.AST msgidPlural) |
protected void |
handleMsgstr(antlr.collections.AST msgstr) |
protected void |
handleMsgstrPlural(antlr.collections.AST msgstr,
antlr.collections.AST plurality) |
protected void |
handleObsoleteMessageBlock(antlr.collections.AST messageBlock) |
protected void |
handlePreviousMsgctxt(antlr.collections.AST previousMsgctxt) |
protected void |
handlePreviousMsgid(antlr.collections.AST previousMsgid) |
protected void |
handlePreviousMsgidPlural(antlr.collections.AST previousMsgidPlural) |
protected void |
handleReference(antlr.collections.AST sourceRef) |
void |
messageBlock()
A message block defines all the lines related to a single translatable message entry.
|
void |
messageBlocks() |
void |
msgctxt() |
void |
msgid() |
void |
msgidPlural() |
void |
msgstr() |
void |
msgstrPlural() |
void |
obsoleteEntries() |
void |
previousMsgctxt() |
void |
previousMsgid() |
void |
previousMsgidPlural() |
void |
reference() |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
public static final String[] _tokenNames
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_9
protected CatalogParser(antlr.TokenBuffer tokenBuf, int k)
public CatalogParser(antlr.TokenBuffer tokenBuf)
protected CatalogParser(antlr.TokenStream lexer, int k)
public CatalogParser(antlr.TokenStream lexer)
public CatalogParser(antlr.ParserSharedInputState state)
protected antlr.collections.AST buildCatalogNode(antlr.collections.AST messageBlocks)
protected void handleMessageBlock(antlr.collections.AST messageBlock)
protected void handleObsoleteMessageBlock(antlr.collections.AST messageBlock)
protected void handleCatalogComment(antlr.collections.AST comment)
protected void handleExtractedComment(antlr.collections.AST comment)
protected void handleReference(antlr.collections.AST sourceRef)
protected void handleFlag(antlr.collections.AST flag)
protected void handlePreviousMsgctxt(antlr.collections.AST previousMsgctxt)
protected void handlePreviousMsgid(antlr.collections.AST previousMsgid)
protected void handlePreviousMsgidPlural(antlr.collections.AST previousMsgidPlural)
protected void handleDomain(antlr.collections.AST domain)
protected void handleMsgctxt(antlr.collections.AST msgctxt)
protected void handleMsgid(antlr.collections.AST msgid)
protected void handleMsgidPlural(antlr.collections.AST msgidPlural)
protected void handleMsgstr(antlr.collections.AST msgstr)
protected void handleMsgstrPlural(antlr.collections.AST msgstr, antlr.collections.AST plurality)
public final void catalog() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void messageBlocks() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void catalogComment() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void extractedComment() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void reference() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void flag() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void messageBlock() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void previousMsgctxt() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void previousMsgid() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void previousMsgidPlural() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void domain() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void entries() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void obsoleteEntries() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void msgctxt() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void msgid() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void msgstr() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void msgidPlural() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void msgstrPlural() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
protected void buildTokenTypeASTClassMap()
Copyright © 2007–2016 JBoss, a division of Red Hat, Inc. All rights reserved.