Uses of Class
eu.bandm.tools.d2d2.parser2.TLex.Item
Packages that use TLex.Item
-
Uses of TLex.Item in eu.bandm.tools.d2d2.parser2
Subclasses of TLex.Item in eu.bandm.tools.d2d2.parser2Modifier and TypeClassDescriptionstatic class
TLex.Append<DD,
TT> Append the given text or the last consumed character to TLex.outBufferstatic class
TLex.Choice<DD,
TT> Steps through all alternatives (which must be Consumes or Shifts) and calls their "test()" and "actionAfterText()" separately.static class
TLex.ChoiceOrState<DD,
TT> static class
TLex.CloseState<DD,
TT> static class
TLex.Consume<DD,
TT> If the test is positive (look-ahead char is equal to c or is in set cset) then consume this character = remove it from the input and get the next look-ahead.static class
TLex.ConsumeOrShift<DD,
TT> static class
TLex.Deliver<DD,
TT> Constructcs a token with the given type and the text accumulated in "TLex.outBuffer" and the location from "TLex.location()".static class
TLex.Error<DD,
TT> Delivers a token with the error token type (as defined when constructing TLex) and the given type.static class
TLex.Other<DD,
TT> Only a wrapper needed for the construction interface.static class
TLex.Shift<DD,
TT> If the test is positive (look-ahead char is equal to c or is in set cset) then append this character to the output buffer "Tlex.oputBuffer" and consume this character.static class
TLex.State<DD,
TT> Pushes itself onto the stateStack and the current input location to the locstack.static class
TLex.Text2cont<DD,
TT> Calculates the contiunation (=the following lexer code) from the vaue accumulated in the TLex.outBuffer.static class
TLex.Text2token<DD,
TT> Same as deliver, but not the token factory stord in TLex but the function is used for constructing the token.Fields in eu.bandm.tools.d2d2.parser2 declared as TLex.ItemModifier and TypeFieldDescriptionTLex.continuation
TLex.Item.continuation
(package private) static TLex.Item<XMLDocumentIdentifier,
Parser.TokenType> Parser.d2dLexer
(package private) static TLex.Item<XMLDocumentIdentifier,
Parser.TokenType> Parser.hexLit
(package private) static TLex.Item<XMLDocumentIdentifier,
Parser.TokenType> Parser.token_comment
(package private) static TLex.Item<XMLDocumentIdentifier,
Parser.TokenType> Parser.token_hashkeyword_X
Accepts simple hash-mark keywords and "#d2d..#/d2d" escape sequences.(package private) static TLex.Item<XMLDocumentIdentifier,
Parser.TokenType> Parser.token_ident
(package private) static TLex.Item<XMLDocumentIdentifier,
Parser.TokenType> Parser.token_numeric_0
(package private) static TLex.Item<XMLDocumentIdentifier,
Parser.TokenType> Parser.token_numeric_1_9
TLex.topLexer
Fields in eu.bandm.tools.d2d2.parser2 with type parameters of type TLex.ItemMethods in eu.bandm.tools.d2d2.parser2 that return TLex.ItemModifier and TypeMethodDescriptionstatic <DD,
TT> TLex.Item<DD, TT> TLex.comments
(TT singleLine, TT multiLine, TT singleSlash) Accepts and returns a standard C-/Java-style single line comment.static <DD,
TT> TLex.Item TLex.hexNumber
(TT hexnumberTokenType) Recognizes and reduces hexadecimal constant of form "0x[d]" and "0X[d]".static <DD,
TT> TLex.Item<DD, TT> TLex.stringconst
(char delim, TT tt) Accepts and returns a standard string constant, containing standard escape sequences.(package private) static TLex.Item<XMLDocumentIdentifier,
Parser.TokenType> Parser.token_stringconst
(char delim, Parser.TokenType tt) Methods in eu.bandm.tools.d2d2.parser2 with parameters of type TLex.ItemModifier and TypeMethodDescriptionstatic <DD,
TT> TLex.Append<DD, TT> static <DD,
TT> TLex.Append<DD, TT> static <DD,
TT> TLex.Choice<DD, TT> static <DD,
TT> TLex.CloseState<DD, TT> TLex.closeState
(TLex.Item<DD, TT> continuation) static <DD,
TT> TLex.CloseState<DD, TT> TLex.closeStates
(@Opt TLex.Item<DD, TT> cont, int times) static <DD,
TT> TLex.Consume<DD, TT> static <DD,
TT> TLex.Consume<DD, TT> static <DD,
TT> TLex.Consume<DD, TT> TLex.consume
(TunableParser.CharSet cs, @Opt TLex.Item<DD, TT> continuation) static <DD,
TT> TLex.Deliver<DD, TT> static <DD,
TT> TLex.Other<DD, TT> static <DD,
TT> TLex.Shift<DD, TT> static <DD,
TT> TLex.Shift<DD, TT> static <DD,
TT> TLex.Shift<DD, TT> TLex.shift
(TunableParser.CharSet cs, @Opt TLex.Item<DD, TT> continuation) static <DD,
TT> TLex.State<DD, TT> static <DD,
TT> TLex.Text2token<DD, TT> TLex.text2token
(BiFunction<String, Location<DD>, Parser.Token<DD, TT>> fun, @Opt TLex.Item<DD, TT> continuation) static <DD,
TT> TLex.State<DD, TT> TLex.verbatimEnd
(TT tt, String post, @Opt TLex.Item<DD, TT> continuation) Accepts a verbatim input character sequence ended by a particular string constant.Method parameters in eu.bandm.tools.d2d2.parser2 with type arguments of type TLex.ItemModifier and TypeMethodDescriptionstatic <DD,
TT> TLex.Text2cont<DD, TT> TLex.text2cont
(BiFunction<String, Location<DD>, TLex.Item<DD, TT>> fun) Applies a user function to the accumulated text.Constructors in eu.bandm.tools.d2d2.parser2 with parameters of type TLex.ItemModifierConstructorDescription(package private)
protected
ChoiceOrState
(String diag, TLex.Item<DD, TT>... items) CloseState
(@Opt TLex.Item<DD, TT> continuation) protected
protected
ConsumeOrShift
(char c, @Opt TunableParser.CharSet cs, @Opt TLex.Item<DD, TT> continuation) protected
protected
(package private)
Text2token
(BiFunction<String, Location<DD>, Parser.Token<DD, TT>> fun, @Opt TLex.Item<DD, TT> continuation) TLex
(TLex.Item<D, T> topLexer, D documentid, @Opt Reader reader, Function3<Location<D>, T, String, ? extends Parser.Token<D, T>> tokenFactory, T errorTokenType, T eofTokenType) Constructor parameters in eu.bandm.tools.d2d2.parser2 with type arguments of type TLex.Item