public CannotInitializeArrayElementWithValueOfDifferentTypeError(NodeLocation pointerLocation, SymbolType expectedSymbolType, SymbolType actualSymbolType) { PointerLocation = pointerLocation; UnderlineLocations.Add(pointerLocation); _expectedSymbolType = expectedSymbolType; _actualSymbolType = actualSymbolType; }
public CannotInitializeConstWithValueOfDifferentTypeError(SymbolType expectedSymbolType, SymbolType actualSymbolType, NodeLocation pointerLocation, NodeLocation underlineLocation) { PointerLocation = pointerLocation; UnderlineLocations.Add(underlineLocation); _expectedSymbolType = expectedSymbolType; _actualSymbolType = actualSymbolType; }
public DivideByZeroError(NodeLocation pointerLocation, NodeLocation underlineLocation) { PointerLocation = pointerLocation; UnderlineLocations.Add(underlineLocation); }
public InvalidBinaryOperationError(NodeLocation pointerLocation, NodeLocation leftLocation, NodeLocation rightLocation) { PointerLocation = pointerLocation; UnderlineLocations.Add(leftLocation); UnderlineLocations.Add(rightLocation); }