Package eu.bandm.tools.d2d2.parser2
Class Parser2
java.lang.Object
eu.bandm.tools.d2d2.parser2.Parser2
Hand-written Ramus parser for d2d definition files.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Distributes documentation text to definitions in the current module, descending into local definitions when required.(package private) static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, CharSetConst> Accepts and decodes char set constants given as text in single quotes.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, CharSetConst> Accepts and decodes char set constants given as decimal number.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, CharSetConst> Accepts and decodes char set constants given as hex number.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, String> Accepts and decodes string constants, which is the contents between double quotes.(package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> (package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> (package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Unit> (package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> (package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Boolean> static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> Accepts and decodes top level grammar expressions.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, String> Accepts and decodes identifiers, which includes keywords and identifiers from the lexer world.protected static final Map<D2dLexer.TokenType,
String> (package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<XRegExp>> (package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Object> (package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> (package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> NamespaceDecls are stored only in the "Module" model element.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<XRegExp>> static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Reference> Accepts and decodes references, which are identifiers separated by dots.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, StringConst> Accepts and decodes string constants, which is the contents between double quotes.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, StringConst> Accepts and decodes string constants not containing newline and tab characters.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> (package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> Accepts and constructs model element for identifier plus an "implicit
" prefix.(package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Parser2.XmlSpecConsumer> Parse, accept and set the corresponding fields of a model elementDefinition
according to '[with ..] xmlrep (trimmed|untrimmed)? (data)? (el|att)? (= "nspref:tag" "value"?)? ' -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addToContainer
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, SourceItem currentScope, Definition newdef, String kind) AddDefinition
(Enum or Tags or Chars Parser) to currentscope (either to Module or (as a local definition) to a definition).static void
addToModule
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, Module host, SourceItem item, String kind) Store a definition to the given module.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> atom_000
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes lowest level grammar expressions.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> atom_002
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Parse greedy and insert prefix sequence as in "@ @ > > (a, b)".static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> atom_004
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes char set cut expression "e1 A e2"static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> atom_006
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes char set join expression "e1 U e2"static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> atom_008
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes char set minus expression "e1 - e2"static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> protected static boolean
protected static <A> Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, A> constant
(D2dLexer.TokenType type, A value) Delivers an Expression, which accepts the given token type, and reduces to the given value (the location is preserved).static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Optional<List<eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<XRegExp>>>> declModifiers
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> p_definitionBody) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> decor_002
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes tight sequence "e1 ~ e2"static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> decor_004
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes permutation "e1 & e2
"static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> decor_006
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes non-tight sequence "e1 , e2"static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> decor_008
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes alternative "e1 | e2"static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> decorated
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes decorated expression "e1? / + / * / +~ / *~"(package private) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> defaultGroup
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> p_defaultGroup) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> definitionBody
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> p_definitionBody) DOCMEprotected static void
error
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, @Opt Location<XMLDocumentIdentifier> loc, String s, Object... args) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> grammarExpr
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> p_grammarExpr) Accepts and decodes top level grammar expressions.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<XRegExp>> localnodes
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> p_definitionBody) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> module
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> p_module) Accepts and decodes a "module" declaration.static @Opt D2dLexer.TokenType
parse
(Reader reader, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int tracelevel, String sourceIndication) Service Access Point for converting a text into a d2d definition module.static <R> R
parse_nonterminal
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, R> nonterminal, Reader reader, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int tracelevel, String sourceIndication) Service Access Point for parsing a particular non-terminal.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> postGreedy
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes decorated expression "e1? / + / * / +~ / *~"protected static void
postProcess
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int tracelevel, Module topModule) static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> range
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes next-to-lowest level grammar expressions.(package private) static Location<XMLDocumentIdentifier>
region
(Expression from, Expression to) (package private) static Location<XMLDocumentIdentifier>
region
(Content<XMLDocumentIdentifier, ?> from, Expression to) Split a text segment into a list of strings and their locators.static final Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Expression> substituted
(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes substituted expression "e1 ^(e2/i2) ^(e3/i3).."protected static Parser<XMLDocumentIdentifier,
D2dLexer.TokenType> tokenSource
(Reader reader, String sourceIndication) protected static Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, D2dLexer.TokenType> tokenType
(D2dLexer.TokenType... types) DOCMEprotected static Parser<XMLDocumentIdentifier,
D2dLexer.TokenType> protected static Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, Content<XMLDocumentIdentifier, D2dLexer.TokenType>> unparsedLiteral
(D2dLexer.TokenType... types) Auxiliary function, gives necessary constraints to type inference.protected static Expression<XMLDocumentIdentifier,
D2dLexer.TokenType, String> unparsedLiteralText
(D2dLexer.TokenType... types) protected static void
warning
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, @Opt Location<XMLDocumentIdentifier> loc, String s, Object... args)
-
Field Details
-
identTokens
-
identifier
Accepts and decodes identifiers, which includes keywords and identifiers from the lexer world. -
reference
Accepts and decodes references, which are identifiers separated by dots. -
stringconst
Accepts and decodes string constants, which is the contents between double quotes. -
charStringContents
Accepts and decodes string constants, which is the contents between double quotes. FIXME zusammenlegen mit "stringconst" ??? -
stringconstChecked
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, stringconstCheckedStringConst> Accepts and decodes string constants not containing newline and tab characters. Is used for character parser definitions, xml names, and name mangling infixes. -
charset
Accepts and decodes char set constants given as text in single quotes. -
charset_dez
Accepts and decodes char set constants given as decimal number. -
charset_hex
Accepts and decodes char set constants given as hex number. -
x_reference
Accepts and constructs model element for identifier plus an "implicit
" prefix. -
grammarExpr
Accepts and decodes top level grammar expressions. This is the version where the recursive call "grammarExpr" is resolved. This version must be used by all higher level expressions. -
xmlspec
Parse, accept and set the corresponding fields of a model elementDefinition
according to '[with ..] xmlrep (trimmed|untrimmed)? (data)? (el|att)? (= "nspref:tag" "value"?)? ' -
editspec
-
inputspec
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, inputspeceu.bandm.tools.d2d2.parser2.Parser2.XConsumer<XRegExp>> -
postprocessor
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, postprocessoreu.bandm.tools.d2d2.parser2.Parser2.XConsumer<XRegExp>> -
enumDecl
static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, enumDecleu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> -
definitionBody
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, definitionBodyeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> -
namespacedecl
static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, namespacedecleu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> NamespaceDecls are stored only in the "Module" model element. (Are not set in a "defaultgroup" d2d.g rule!) -
importcmd
static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, importcmdeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> -
documentation
static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, documentationeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> -
modline
static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, modlineeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> -
globaltrimming
-
manglingRule
-
defaultDef
static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, defaultDefeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> -
x_defaultDef
static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, x_defaultDefeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> -
defaultGroup
static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, defaultGroupeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> -
module
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, moduleeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> -
top
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, topeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>>
-
-
Method Details
-
tokenSource
public static TokenSource<XMLDocumentIdentifier,D2dLexer.TokenType> tokenSource(Reader reader, String sourceIndication) -
parse
@Opt public static @Opt Module parse(Reader reader, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int tracelevel, String sourceIndication) Service Access Point for converting a text into a d2d definition module.- Parameters:
tracelevel
- for compatibility only, currently ignored.
-
parse_nonterminal
@Opt public static <R> R parse_nonterminal(Expression<XMLDocumentIdentifier, D2dLexer.TokenType, R> nonterminal, Reader reader, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int tracelevel, String sourceIndication) Service Access Point for parsing a particular non-terminal. -
TRACE
-
unparsedLiteral
protected static Expression<XMLDocumentIdentifier,D2dLexer.TokenType, unparsedLiteralContent<XMLDocumentIdentifier, D2dLexer.TokenType>> (D2dLexer.TokenType... types) Auxiliary function, gives necessary constraints to type inference.- Parameters:
types
- realizes an ALTERNATIVE of accepted token types- Returns:
- an Expression which will deliver one
Content
as its reduction result.
-
tokenType
protected static Expression<XMLDocumentIdentifier,D2dLexer.TokenType, tokenTypeD2dLexer.TokenType> (D2dLexer.TokenType... types) DOCME -
constant
protected static <A> Expression<XMLDocumentIdentifier,D2dLexer.TokenType, constantA> (D2dLexer.TokenType type, A value) Delivers an Expression, which accepts the given token type, and reduces to the given value (the location is preserved). -
unparsedLiteralText
protected static Expression<XMLDocumentIdentifier,D2dLexer.TokenType, unparsedLiteralTextString> (D2dLexer.TokenType... types) - Parameters:
types
- realizes an ALTERNATIVE of accepted token types- Returns:
- an Expression which will deliver the text (of type String) of one Token as its parsing result.
-
error
protected static void error(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, @Opt @Opt Location<XMLDocumentIdentifier> loc, String s, Object... args) -
warning
protected static void warning(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, @Opt @Opt Location<XMLDocumentIdentifier> loc, String s, Object... args) -
optTokenType
-
terminal
-
region
-
region
-
atom_000
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, atom_000Expression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes lowest level grammar expressions. It must be method(=function) and not constant a definition, because it is the end point of a cyclic reference.- Parameters:
grammarExpr
- the highest level grammar expression. Is inserted here (wrapped into "("..")") for recursion.
-
charParserWrapper
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, charParserWrapperExpression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) -
atom_002
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, atom_002Expression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Parse greedy and insert prefix sequence as in "@ @ > > (a, b)". -
range
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, rangeExpression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes next-to-lowest level grammar expressions. It must be method(=function) because it must pass down the parameter for recursion from its definition point to its lowest point of usage. -
atom_004
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, atom_004Expression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes char set cut expression "e1 A e2" -
atom_006
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, atom_006Expression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes char set join expression "e1 U e2" -
atom_008
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, atom_008Expression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes char set minus expression "e1 - e2" -
substituted
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, substitutedExpression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes substituted expression "e1 ^(e2/i2) ^(e3/i3).." -
postGreedy
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, postGreedyExpression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes decorated expression "e1? / + / * / +~ / *~" -
decorated
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, decoratedExpression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes decorated expression "e1? / + / * / +~ / *~" -
decor_002
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, decor_002Expression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes tight sequence "e1 ~ e2" -
decor_004
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, decor_004Expression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes permutation "e1 & e2
" -
decor_006
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, decor_006Expression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes non-tight sequence "e1 , e2" -
decor_008
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, decor_008Expression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> grammarExpr) Accepts and decodes alternative "e1 | e2" -
grammarExpr
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, grammarExprExpression> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, Expression> p_grammarExpr) Accepts and decodes top level grammar expressions.- Parameters:
p_grammarExpr
- its own result, for defining the grammar rule recursion many levels lower. Is handled by the call toExpression.fix(java.util.function.Function<eu.bandm.tools.ramus.runtime2.Expression<D, T, A>, eu.bandm.tools.ramus.runtime2.Expression<D, T, A>>)
, as performed in the initialization code ofgrammarExpr
.
-
addToModule
public static void addToModule(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, Module host, SourceItem item, String kind) Store a definition to the given module. ImportItems, (Sub-)Modules and Definitions (=Enums, Chars and Tags Parser) can be added. They are stored to different maps, but must have unique names over all.(Made public and with explicit message channel for later use, e.g. construction of synthetic definitions from Parser sub-particles.
-
addToContainer
protected static void addToContainer(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, SourceItem currentScope, Definition newdef, String kind) AddDefinition
(Enum or Tags or Chars Parser) to currentscope (either to Module or (as a local definition) to a definition).- Parameters:
kind
- for error messaging only.
-
localnodes
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, localnodeseu.bandm.tools.d2d2.parser2.Parser2.XConsumer<XRegExp>> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> p_definitionBody) -
declModifiers
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, declModifiersOptional<List<eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<XRegExp>>>> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> p_definitionBody) -
definitionBody
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, definitionBodyeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<SourceItem>> p_definitionBody) DOCME -
checkEnumItemValid
-
splitdoctext
protected static List<LocString> splitdoctext(Content<XMLDocumentIdentifier, D2dLexer.TokenType> token) Split a text segment into a list of strings and their locators. -
defaultGroup
static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, defaultGroupeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> p_defaultGroup) -
module
public static final Expression<XMLDocumentIdentifier,D2dLexer.TokenType, moduleeu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> (Expression<XMLDocumentIdentifier, D2dLexer.TokenType, eu.bandm.tools.d2d2.parser2.Parser2.XConsumer<Module>> p_module) Accepts and decodes a "module" declaration. All definitions contained therein must be stored to the maps in this module. Therefore the module is stored in a context register, -
postProcess
protected static void postProcess(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int tracelevel, Module topModule)
-