GxFileParser

Gx filer parser.

Constructors

this
this(string path, GxFileParser[string] cachedParsersByModuleName)
Undocumented in source.

Members

Aliases

RuleNames
alias RuleNames = DynamicArray!string
Undocumented in source.

Functions

generateParserSourceString
void generateParserSourceString(Output output, string moduleName)
Undocumented in source. Be warned that the author may not have intended to support it.
retagReferencedRules
void retagReferencedRules()

Retag all referenced rules.

tagReferencedRules
void tagReferencedRules()

Tag all referenced rules in either this or imported modules.

toMatchers
void toMatchers(Output output)
Undocumented in source. Be warned that the author may not have intended to support it.
toMatchersForImportedModule
void toMatchersForImportedModule(const(char)[] moduleName, RuleNames doneRuleNames, Output output)
Undocumented in source. Be warned that the author may not have intended to support it.
toMatchersForImports
void toMatchersForImports(RuleNames doneRuleNames, Output output)
Undocumented in source. Be warned that the author may not have intended to support it.
toMatchersForOptionsTokenVocab
void toMatchersForOptionsTokenVocab(RuleNames doneRuleNames, Output output)
Undocumented in source. Be warned that the author may not have intended to support it.
toMatchersForRules
void toMatchersForRules(RuleNames doneRuleNames, Output output)
Undocumented in source. Be warned that the author may not have intended to support it.
tryTagReferencedRule
bool tryTagReferencedRule(SymbolRef symbolRef)
Undocumented in source. Be warned that the author may not have intended to support it.
untagReferencedRules
void untagReferencedRules()

Untag all rules (as unreferenced).

Properties

rootRule
Rule rootRule [@property getter]

Get root rule.

Variables

cachedParsersByModuleName
GxFileParser[string] cachedParsersByModuleName;
Undocumented in source.

Inherited Members

From GxParserByStatement

empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
front
inout(Node) front()
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void popFront()
Undocumented in source. Be warned that the author may not have intended to support it.
makeArgs
DynamicArray!(Input) makeArgs(TOK separator, TOK terminator)
Undocumented in source. Be warned that the author may not have intended to support it.
makeAttributeSymbol
AttributeSymbol makeAttributeSymbol(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
makeActionSymbol
ActionSymbol makeActionSymbol(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
makeScope
TokenNode makeScope(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
makeImport
Import makeImport(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
makeClass
TokenNode makeClass(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
skipOverOtherSymbol
OtherSymbol skipOverOtherSymbol(string symbolIdentifier)
Undocumented in source. Be warned that the author may not have intended to support it.
skipOverScope
TokenNode skipOverScope()

Skip over scope if any.

makeRuleOptions
Options makeRuleOptions(Token head, bool skipOverColon)
Undocumented in source. Be warned that the author may not have intended to support it.
makeTopOptions
Options makeTopOptions(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
makeChannels
Channels makeChannels(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
makeTokens
Tokens makeTokens(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
makeHeader
Header makeHeader(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
makeMode
Mode makeMode(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
makeAction
Action makeAction(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
skipOverPreRuleOptions
Options skipOverPreRuleOptions()

Skip over options if any.

skipOverExclusion
bool skipOverExclusion()
Undocumented in source. Be warned that the author may not have intended to support it.
skipOverReturns
bool skipOverReturns()
Undocumented in source. Be warned that the author may not have intended to support it.
skipOverHooks
bool skipOverHooks()
Undocumented in source. Be warned that the author may not have intended to support it.
skipOverAction
Action skipOverAction()
Undocumented in source. Be warned that the author may not have intended to support it.
skipOverActionSymbol
ActionSymbol skipOverActionSymbol()
Undocumented in source. Be warned that the author may not have intended to support it.
makeRuleOrOther
Node makeRuleOrOther(Token head)
Undocumented in source. Be warned that the author may not have intended to support it.
nextFront
Node nextFront()
Undocumented in source. Be warned that the author may not have intended to support it.
grammar
TokenNode grammar;
Undocumented in source.
optionsSet
DynamicArray!(Options) optionsSet;
Undocumented in source.
imports
Imports imports;
Undocumented in source.
rules
Rules rules;
Undocumented in source.
rulesByName
RulesByName rulesByName;
Undocumented in source.
symbolRefs
SymbolRefs symbolRefs;

< All of SymbolRef instances.

warnUnknownSymbolFlag
bool warnUnknownSymbolFlag;
Undocumented in source.

Meta