dil.semantic.Passes

Members

Classes

FirstSemanticPass
class FirstSemanticPass

The first pass only declares symbols and handles imports.

SecondSemanticPass
class SecondSemanticPass

The second pass resolves variable types, base classes, evaluates static ifs/asserts etc.

SemanticScope
class SemanticScope

A Scope class with added semantic information. (May be merged together with class Scope in the future.)

Functions

error
void error(Module m, Token* token, cstring formatMsg, ...)
void error(Module m, Node n, cstring formatMsg, ...)
void error(Module m, Token* token, MID mid, ...)
void error(Module m, Node n, MID mid, ...)
void error(Module m, TypeInfo[] _arguments, va_list _argptr, cstring msg, Token* token)

Creates an error report.

Interfaces

SemanticPass
interface SemanticPass

Common interface for semantic passes.

Meta

Authors

Aziz Köksal

License

GPL3 $(Maturity low) Description: This module is here for testing a different algorithm to do semantic analysis compared to SemanticPass1 and SemanticPass2!