Class Character
Represents a single character in the source input, including its value and position (line and column).
public record Character : IEquatable<Character>
- Inheritance
-
Character
- Implements
- Inherited Members
Constructors
Character(char, int, int)
Represents a single character in the source input, including its value and position (line and column).
public Character(char Value, int Line, int Column)
Parameters
Properties
Column
public int Column { get; init; }
Property Value
Line
public int Line { get; init; }
Property Value
Value
public char Value { get; init; }
Property Value
Methods
ToString()
Returns a string representation of the character and its position in the format: 'Value (Line, Column)'.
public override string ToString()