Table of Contents

Class Character

Namespace
flx.SILQ.Models
Assembly
flx.SILQ.dll

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

Value char
Line int
Column int

Properties

Column

public int Column { get; init; }

Property Value

int

Line

public int Line { get; init; }

Property Value

int

Value

public char Value { get; init; }

Property Value

char

Methods

ToString()

Returns a string representation of the character and its position in the format: 'Value (Line, Column)'.

public override string ToString()

Returns

string