Renamed sunVariableAssignment.

This commit is contained in:
arookas 2015-12-28 02:50:06 -05:00
parent af2255fbe5
commit aa61439095
2 changed files with 3 additions and 3 deletions

View file

@ -51,13 +51,13 @@
}
}
class sunVariableAssignment : sunNode
class sunStorableAssignment : sunNode
{
public sunIdentifier Storable { get { return this[0] as sunIdentifier; } }
public sunAssign Operator { get { return this[1] as sunAssign; } }
public sunExpression Expression { get { return this[2] as sunExpression; } }
public sunVariableAssignment(sunSourceLocation location)
public sunStorableAssignment(sunSourceLocation location)
: base(location)
{

View file

@ -215,7 +215,7 @@ namespace arookas
case __sunConstants.VARIABLE_REFERENCE: return new sunStorableReference(location);
case __sunConstants.VARIABLE_DECLARATION: return new sunVariableDeclaration(location);
case __sunConstants.VARIABLE_DEFINITION: return new sunVariableDefinition(location);
case __sunConstants.VARIABLE_ASSIGNMENT: return new sunVariableAssignment(location);
case __sunConstants.VARIABLE_ASSIGNMENT: return new sunStorableAssignment(location);
case __sunConstants.VARIABLE_AUGMENT: return new sunNode(location);
}