The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
Symbols.Symbol Class Reference

This class represents a symbol associated with its identifier. More...

Public Member Functions

 Symbol (string symbolName, int symbolScope, TypeExpression symbolType, bool isDinamic)
 Constructor of Symbol. More...
 
override string ToString ()
 Returns the symbol information More...
 

Properties

string Name [get]
 Gets the identifier name associated with the symbol. More...
 
int Scope [get]
 Gets symbol scope. More...
 
TypeExpression SymbolType [get, set]
 Gets the symbol type. More...
 
bool IsDynamic [get]
 True if the symbol reference is dynamic, false if the symbol reference is static. More...
 

Detailed Description

This class represents a symbol associated with its identifier.

Definition at line 26 of file Symbol.cs.

Constructor & Destructor Documentation

Symbols.Symbol.Symbol ( string  symbolName,
int  symbolScope,
TypeExpression  symbolType,
bool  isDinamic 
)

Constructor of Symbol.

Parameters
symbolNameSymbol name.
symbolScopeSymbol scope.
symbolTypeSymbol type.
isDinamicTrue if the symbol reference is dynamic, false otherwise.

Definition at line 98 of file Symbol.cs.

Member Function Documentation

override string Symbols.Symbol.ToString ( )

Returns the symbol information

Returns
string with the symbol information.

Definition at line 114 of file Symbol.cs.

Property Documentation

bool Symbols.Symbol.IsDynamic
get

True if the symbol reference is dynamic, false if the symbol reference is static.

Definition at line 83 of file Symbol.cs.

string Symbols.Symbol.Name
get

Gets the identifier name associated with the symbol.

Definition at line 58 of file Symbol.cs.

int Symbols.Symbol.Scope
get

Gets symbol scope.

Definition at line 66 of file Symbol.cs.

TypeExpression Symbols.Symbol.SymbolType
getset

Gets the symbol type.

Definition at line 74 of file Symbol.cs.


The documentation for this class was generated from the following file: