dparsergen v0.1.0 (2023-05-07T14:44:42Z)
Dub
Repo
EBNFGrammar.symbolInstanceToString
dparsergen
generator
grammar
EBNFGrammar
Undocumented in source. Be warned that the author may not have intended to support it.
string
symbolInstanceToString
(SymbolInstance s, bool includeAll, bool escape)
string
symbolInstanceToString
(SymbolInstance[] symbols, bool includeAll, bool escape)
void
symbolInstanceToString
(Appender!string app, SymbolInstance s, bool includeAll, bool escape)
class
EBNFGrammar
const
void
symbolInstanceToString
(
ref
Appender
!
string
app
,
const
SymbolInstance
s
,
bool
includeAll
= true
,
bool
escape
= false
)
Meta
Source
See Implementation
dparsergen
generator
grammar
EBNFGrammar
constructors
this
functions
addProduction
calcNonterminalCanBeEmpty
calcNonterminalTypes
canBeEmpty
canBeNonEmpty
canForward
canForwardPrefix
directUnwrapClosure
directUnwrapClosureHasSelf
directUnwrapClosureMap
fillProductionsForNonterminal
firstSet
firstSetContains
firstSetImpl
getProductions
getRewriteRules
getSymbolName
hasExactToken
hasNonTrivialRewriteRule
isDirectUnwrapProduction
isProductionAllowed
isSimpleProduction
isValid
nextNonterminalWithConstraint
nextSymbolWithConstraint
orConstraint
origGrammar
productionString
productionStringRhs
productions
symbolInstanceToString
toString
structs
FirstSetsKey
variables
allowTokenNonterminals
directUnwrapClosureCache
directUnwrapClosureMapCache
firstSetsCache
firstSetsNonterminalCache
hasExactTokenCache
inContextOnlyTokens
isLexerGrammar
matchingTokens
nonterminals
origGrammar_
productionsData
startNonterminalID
startNonterminals
startProductionID
startTokenID
symbolInfos
symbolsInMultiplePaths
tags
tokens