- using System.ComponentModel;
- namespace Ink.Runtime
- {
-
- public class VariableAssignment : Runtime.Object
- {
- public string variableName { get; protected set; }
- public bool isNewDeclaration { get; protected set; }
- public bool isGlobal { get; set; }
- public VariableAssignment (string variableName, bool isNewDeclaration)
- {
- this.variableName = variableName;
- this.isNewDeclaration = isNewDeclaration;
- }
-
- public VariableAssignment() : this(null, false) {}
- public override string ToString ()
- {
- return "VarAssign to " + variableName;
- }
- }
- }