public InterpretorException(string exception, Nodes.Node.Coords coords) { this.Exception = exception; this.Coords = coords; }
private void SetCoords() { StartCoords = new Nodes.Node.Coords(x, y); EndCoords = GetEndCoords(); }
public Lexem(int start, int end) { LexType = LexType.String; Value = 0; VarName = expression.Substring(start, end - start + 1); StartCoords = default(Nodes.Node.Coords); EndCoords = default(Nodes.Node.Coords); SetCoords(); }
public Lexem(string name) { LexType = LexType.Variable; Value = 0; VarName = name; StartCoords = default(Nodes.Node.Coords); EndCoords = default(Nodes.Node.Coords); SetCoords(); }
public Lexem(float number) { LexType = LexType.Number; Value = number; VarName = ""; StartCoords = default(Nodes.Node.Coords); EndCoords = default(Nodes.Node.Coords); SetCoords(); }
public Lexem(LexType type) { LexType = type; Value = 0; VarName = ""; StartCoords = default(Nodes.Node.Coords); EndCoords = default(Nodes.Node.Coords); SetCoords(); }