Renamed sunVariableAssignment.
This commit is contained in:
parent
af2255fbe5
commit
aa61439095
2 changed files with 3 additions and 3 deletions
|
@ -51,13 +51,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class sunVariableAssignment : sunNode
|
class sunStorableAssignment : sunNode
|
||||||
{
|
{
|
||||||
public sunIdentifier Storable { get { return this[0] as sunIdentifier; } }
|
public sunIdentifier Storable { get { return this[0] as sunIdentifier; } }
|
||||||
public sunAssign Operator { get { return this[1] as sunAssign; } }
|
public sunAssign Operator { get { return this[1] as sunAssign; } }
|
||||||
public sunExpression Expression { get { return this[2] as sunExpression; } }
|
public sunExpression Expression { get { return this[2] as sunExpression; } }
|
||||||
|
|
||||||
public sunVariableAssignment(sunSourceLocation location)
|
public sunStorableAssignment(sunSourceLocation location)
|
||||||
: base(location)
|
: base(location)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -215,7 +215,7 @@ namespace arookas
|
||||||
case __sunConstants.VARIABLE_REFERENCE: return new sunStorableReference(location);
|
case __sunConstants.VARIABLE_REFERENCE: return new sunStorableReference(location);
|
||||||
case __sunConstants.VARIABLE_DECLARATION: return new sunVariableDeclaration(location);
|
case __sunConstants.VARIABLE_DECLARATION: return new sunVariableDeclaration(location);
|
||||||
case __sunConstants.VARIABLE_DEFINITION: return new sunVariableDefinition(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);
|
case __sunConstants.VARIABLE_AUGMENT: return new sunNode(location);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue