Class MappingParser
java.lang.Object
antlr.Parser
antlr.LLkParser
net.sf.jasperreports.olap.mapping.MappingParser
- All Implemented Interfaces:
MappingParserTokenTypes
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
Fields inherited from interface net.sf.jasperreports.olap.mapping.MappingParserTokenTypes
COMMA, DIGIT, EOF, INT, LETTER, LITERAL_Axis, LITERAL_Chapters, LITERAL_Columns, LITERAL_Data, LITERAL_FormattedData, LITERAL_Pages, LITERAL_Rows, LITERAL_Sections, LPAREN, MINUS, MONDRNAME, NAME, NULL_TREE_LOOKAHEAD, PLUS, POINT, QMARK, RPAREN, STAR, WS
-
Constructor Summary
ConstructorsModifierConstructorDescriptionMappingParser
(antlr.ParserSharedInputState state) MappingParser
(antlr.TokenBuffer tokenBuf) protected
MappingParser
(antlr.TokenBuffer tokenBuf, int k) MappingParser
(antlr.TokenStream lexer) protected
MappingParser
(antlr.TokenStream lexer, int k) -
Method Summary
Modifier and TypeMethodDescriptionfinal Axis
axis()
final int
axisName()
final AxisPosition
axisPosition
(int axis) final List
<AxisPosition> final DataMapping
final int
idx()
final Mapping
mapping()
final Member
member()
final MemberDepth
memberDepth
(Axis axis, TuplePosition pos) final Member
final MemberMapping
final String
final String
name()
final MemberProperty
property()
void
setMappingMetadata
(MappingMetadata mappingMeta) final Tuple
tuple()
final TupleMember
final TuplePosition
tuplePosition
(Axis axis) Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
Methods inherited from class antlr.Parser
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
-
Field Details
-
_tokenNames
-
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0 -
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1 -
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2 -
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3 -
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4 -
_tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_5 -
_tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_6 -
_tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_7 -
_tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_8 -
_tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_9
-
-
Constructor Details
-
MappingParser
protected MappingParser(antlr.TokenBuffer tokenBuf, int k) -
MappingParser
public MappingParser(antlr.TokenBuffer tokenBuf) -
MappingParser
protected MappingParser(antlr.TokenStream lexer, int k) -
MappingParser
public MappingParser(antlr.TokenStream lexer)
-
-
Method Details
-
setMappingMetadata
-
mapping
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
memberMapping
public final MemberMapping memberMapping() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
dataMapping
public final DataMapping dataMapping() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
member
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
property
public final MemberProperty property() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
axis
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
tuplePosition
public final TuplePosition tuplePosition(Axis axis) throws antlr.RecognitionException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
memberDepth
public final MemberDepth memberDepth(Axis axis, TuplePosition pos) throws antlr.RecognitionException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
memberLevel
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
idx
public final int idx() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
axisName
public final int axisName() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
mondrName
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
name
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
memberFilter
public final List<Member> memberFilter() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
axisPositions
public final List<AxisPosition> axisPositions() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
axisPosition
public final AxisPosition axisPosition(int axis) throws antlr.RecognitionException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
tuple
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
tupleMember
public final TupleMember tupleMember() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-