Skip to content

Commit

Permalink
Add variable ivar to RBVariableNode
Browse files Browse the repository at this point in the history
RBVariableNode holds onto the semantic vars using a property.

Now that we seldomly yes the AST without doing name analysis, this is not really good: we pay for the dictionary both in space and speed.

This PR adds the ivar (as it can not be done form the image) but does not yet hook it up.
  • Loading branch information
MarcusDenker committed Jul 1, 2020
1 parent bb8e055 commit 47043b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AST-Core/RBVariableNode.class.st
Expand Up @@ -15,6 +15,7 @@ Class {
#superclass : #RBValueNode,
#instVars : [
'name',
'variable',
'start'
],
#category : #'AST-Core-Nodes'
Expand Down

0 comments on commit 47043b9

Please sign in to comment.