gamma ~master (2021-10-12T13:52:47Z)
Dub
Repo
LRMachine.State
gamma
parsgen
lalr1
LRMachine
LRMachine
Undocumented in source.
class
LRMachine
class
State :
Indexed
{
size_t
index_
;
LRItem
[]
kernelItems
;
LRItem
[]
orderedClosureItems
;
Transition
[]
outgoing
;
this
(LRItem[] kernelItems);
size_t
index
();
bool
opEquals
(Object x);
size_t
toHash
();
void
forEachOrderedClosureItem
(LRItemProcessor itemProcessor);
void
computeTransitions
();
}
Constructors
this
this
(LRItem[] kernelItems)
Undocumented in source.
Members
Functions
computeTransitions
void
computeTransitions
()
Undocumented in source. Be warned that the author may not have intended to support it.
forEachOrderedClosureItem
void
forEachOrderedClosureItem
(LRItemProcessor itemProcessor)
Undocumented in source. Be warned that the author may not have intended to support it.
index
size_t
index
()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool
opEquals
(Object x)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t
toHash
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
index_
size_t
index_
;
Undocumented in source.
kernelItems
LRItem
[]
kernelItems
;
Undocumented in source.
orderedClosureItems
LRItem
[]
orderedClosureItems
;
Undocumented in source.
outgoing
Transition
[]
outgoing
;
Undocumented in source.
Inherited Members
From Indexed
index
size_t
index
()
@return a non-negative integer constant for this object
Meta
Source
See Implementation
gamma
parsgen
lalr1
LRMachine
LRMachine
classes
State
Transition
constructors
this
functions
computeLR0Machine
getNontTransitions
getStates
getTransition
getTransitions