Package eu.bandm.tools.umod
Class UMod2visitors.Lr_decoder
java.lang.Object
eu.bandm.tools.umod.UMod.Visitor
eu.bandm.tools.umod.UMod2visitors.Lr_decoder
- Direct Known Subclasses:
UMod2visitors.V_makeDescend
,UMod2visitors.V_makeRewriterCoRewriter
,UMod2visitors.V_makeVDescend
- Enclosing class:
- UMod2visitors
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Whether the left sub-expression shall be visited.protected String
The list of all lr-codes selected, joined together byReducer.STRING_lrcode_separator
= "/
".protected String
The prefix of the code which led to the currently visited sub-expression.protected boolean
Whether the left sub-expression shall be visited.Fields inherited from class eu.bandm.tools.umod.UMod.Visitor
result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Sets the flags for the next step doun, relative to the current [@link #lrposition}.Methods inherited from class eu.bandm.tools.umod.UMod.Visitor
action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, descend_Forest$extBySequence, getResult, match
-
Field Details
-
lrcode
The list of all lr-codes selected, joined together byReducer.STRING_lrcode_separator
= "/
". The visitor related values are stored inUMod.FieldDef.lrcodes
--> VisitorNum --> "/L/RL/RRL/
" (Cannot be final because it is RE-used byUMod2visitors.V_makeRewriterCoRewriter
!?) -
lrposition
The prefix of the code which led to the currently visited sub-expression. -
leftSelected
protected boolean leftSelectedWhether the left sub-expression shall be visited. -
rightSelected
protected boolean rightSelectedWhether the left sub-expression shall be visited.
-
-
Constructor Details
-
Lr_decoder
protected Lr_decoder()
-
-
Method Details
-
updateSelection
protected void updateSelection()Sets the flags for the next step doun, relative to the current [@link #lrposition}.
-