Class Class

Definition

Line 160 of scm2html/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 162 of scm2html/Symbol.cm


Member Function Details

Accept Member Function

public override void Accept(Visitor& visitor)

Definition
Line 398 of scm2html/Symbol.cm


AddChar Member Function

public void AddChar(uchar c)

Definition
Line 368 of scm2html/Symbol.cm


AddSymbol Member Function

public void AddSymbol(Symbol* symbol)

Definition
Line 363 of scm2html/Symbol.cm


Chars Member Function

public const List<uchar>& Chars()

Definition
Line 183 of scm2html/Symbol.cm


Clone Member Function

public Class* Clone()

Definition
Line 350 of scm2html/Symbol.cm


Index Member Function

public int Index()

Definition
Line 179 of scm2html/Symbol.cm


Inverse Member Function

public bool Inverse()

Definition
Line 167 of scm2html/Symbol.cm


IsClass Member Function

public override bool IsClass()

Definition
Line 381 of scm2html/Symbol.cm


IsEmpty Member Function

public bool IsEmpty()

Definition
Line 187 of scm2html/Symbol.cm


MakeCanonical Member Function

public Class* MakeCanonical(LexerContext& lexerContext)

Definition
Line 204 of scm2html/Symbol.cm


MakeInverse Member Function

public void MakeInverse(LexerContext& lexerContext)

Definition
Line 301 of scm2html/Symbol.cm


MakeMinimal Member Function

public void MakeMinimal(LexerContext& lexerContext)

Definition
Line 239 of scm2html/Symbol.cm


Match Member Function

public override bool Match(uchar c)

Definition
Line 385 of scm2html/Symbol.cm


Print Member Function

public void Print(CodeFormatter& formatter)

Definition
Line 372 of scm2html/Symbol.cm


Ranges Member Function

public LinkedList<Range>& Ranges()

Definition
Line 195 of scm2html/Symbol.cm


Ranges Member Function

public const LinkedList<Range>& Ranges()

Definition
Line 191 of scm2html/Symbol.cm


SetIndex Member Function

public void SetIndex(int index_)

Definition
Line 199 of scm2html/Symbol.cm


SetInverse Member Function

public void SetInverse()

Definition
Line 171 of scm2html/Symbol.cm


Symbols Member Function

public const List<Symbol*>& Symbols()

Definition
Line 175 of scm2html/Symbol.cm