Class Class

Definition

Line 157 of scmlg/Symbol.cm

Inheritance

Constructors & Destructor

public Class(int index_)

Member Functions

public override void Accept(Visitor& visitor)
public void AddChar(uchar c)
public void AddSymbol(Symbol* symbol)
public const List<uchar>& Chars() const
public Class* Clone()
public int Index() const
public bool Inverse() const
public override bool IsClass() const
public bool IsEmpty() const
public Class* MakeCanonical(LexerContext& lexerContext)
public void MakeInverse(LexerContext& lexerContext)
public void MakeMinimal(LexerContext& lexerContext)
public override bool Match(uchar c)
public void Print(CodeFormatter& formatter)
public LinkedList<Range>& Ranges()
public const LinkedList<Range>& Ranges() const
public void SetIndex(int index_)
public void SetInverse()
public const List<Symbol*>& Symbols() const

Member Variables

private List<uchar> chars
private int index
private bool inverse
private LinkedList<Range> ranges
private List<Symbol*> symbols

Constructor& Destructor Details

Class Constructor

public Class(int index_)

Definition
Line 159 of scmlg/Symbol.cm


Member Function Details

Accept Member Function

public override void Accept(Visitor& visitor)

Definition
Line 395 of scmlg/Symbol.cm


AddChar Member Function

public void AddChar(uchar c)

Definition
Line 365 of scmlg/Symbol.cm


AddSymbol Member Function

public void AddSymbol(Symbol* symbol)

Definition
Line 360 of scmlg/Symbol.cm


Chars Member Function

public const List<uchar>& Chars()

Definition
Line 180 of scmlg/Symbol.cm


Clone Member Function

public Class* Clone()

Definition
Line 347 of scmlg/Symbol.cm


Index Member Function

public int Index()

Definition
Line 176 of scmlg/Symbol.cm


Inverse Member Function

public bool Inverse()

Definition
Line 164 of scmlg/Symbol.cm


IsClass Member Function

public override bool IsClass()

Definition
Line 378 of scmlg/Symbol.cm


IsEmpty Member Function

public bool IsEmpty()

Definition
Line 184 of scmlg/Symbol.cm


MakeCanonical Member Function

public Class* MakeCanonical(LexerContext& lexerContext)

Definition
Line 201 of scmlg/Symbol.cm


MakeInverse Member Function

public void MakeInverse(LexerContext& lexerContext)

Definition
Line 298 of scmlg/Symbol.cm


MakeMinimal Member Function

public void MakeMinimal(LexerContext& lexerContext)

Definition
Line 236 of scmlg/Symbol.cm


Match Member Function

public override bool Match(uchar c)

Definition
Line 382 of scmlg/Symbol.cm


Print Member Function

public void Print(CodeFormatter& formatter)

Definition
Line 369 of scmlg/Symbol.cm


Ranges Member Function

public LinkedList<Range>& Ranges()

Definition
Line 192 of scmlg/Symbol.cm


Ranges Member Function

public const LinkedList<Range>& Ranges()

Definition
Line 188 of scmlg/Symbol.cm


SetIndex Member Function

public void SetIndex(int index_)

Definition
Line 196 of scmlg/Symbol.cm


SetInverse Member Function

public void SetInverse()

Definition
Line 168 of scmlg/Symbol.cm


Symbols Member Function

public const List<Symbol*>& Symbols()

Definition
Line 172 of scmlg/Symbol.cm