Symbol Abstract Class

Definition

Line 12 of scmlg/Symbol.cm

Inheritance

Constructors & Destructor

public Symbol()
public virtual ~Symbol()

Member Functions

public abstract void Accept(Visitor& visitor)
public bool Contained() const
public void DontSetContained()
public virtual bool IsAny() const
public virtual bool IsChar() const
public virtual bool IsClass() const
public virtual bool IsRange() const
public abstract bool Match(uchar c)
public const String<char>& Name() const
public void SetContained()
public void SetName(const String<char>& name_)

Member Variables

private bool contained
private bool dontSetContained
private String<char> name

Constructor& Destructor Details

Symbol Constructor

public Symbol()

Definition
Line 14 of scmlg/Symbol.cm


~Symbol Destructor

public virtual ~Symbol()

Definition
Line 18 of scmlg/Symbol.cm


Member Function Details

Accept Member Function

public abstract void Accept(Visitor& visitor)

Definition
Line 42 of scmlg/Symbol.cm


Contained Member Function

public bool Contained()

Definition
Line 25 of scmlg/Symbol.cm


DontSetContained Member Function

public void DontSetContained()

Definition
Line 33 of scmlg/Symbol.cm


IsAny Member Function

public virtual bool IsAny()

Definition
Line 51 of scmlg/Symbol.cm


IsChar Member Function

public virtual bool IsChar()

Definition
Line 47 of scmlg/Symbol.cm


IsClass Member Function

public virtual bool IsClass()

Definition
Line 43 of scmlg/Symbol.cm


IsRange Member Function

public virtual bool IsRange()

Definition
Line 55 of scmlg/Symbol.cm


Match Member Function

public abstract bool Match(uchar c)

Definition
Line 41 of scmlg/Symbol.cm


Name Member Function

public const String<char>& Name()

Definition
Line 21 of scmlg/Symbol.cm


SetContained Member Function

public void SetContained()

Definition
Line 29 of scmlg/Symbol.cm


SetName Member Function

public void SetName(const String<char>& name_)

Definition
Line 37 of scmlg/Symbol.cm