C# Class Ypsilon.Assembler.Scopes

Show file Open project: ZaneDubya/YCPU Class Usage Examples

Public Methods

Method Description
AddLabel ( string label, int address ) : bool
AliasAddress ( string alias, int fromAddress ) : int
ContainsAlias ( string label, int fromAddress ) : bool
ContainsLabel ( string label, int fromAddress ) : bool
GetLastOpenScope ( ) : Scope
LabelAddress ( string label, int fromAddress ) : int
ScopeClose ( int address ) : bool
ScopeOpen ( int address, int line ) : void
TryGetOpenScope ( Scope &scope ) : bool

Method Details

AddLabel() public method

public AddLabel ( string label, int address ) : bool
label string
address int
return bool

AliasAddress() public method

public AliasAddress ( string alias, int fromAddress ) : int
alias string
fromAddress int
return int

ContainsAlias() public method

public ContainsAlias ( string label, int fromAddress ) : bool
label string
fromAddress int
return bool

ContainsLabel() public method

public ContainsLabel ( string label, int fromAddress ) : bool
label string
fromAddress int
return bool

GetLastOpenScope() public method

public GetLastOpenScope ( ) : Scope
return Scope

LabelAddress() public method

public LabelAddress ( string label, int fromAddress ) : int
label string
fromAddress int
return int

ScopeClose() public method

public ScopeClose ( int address ) : bool
address int
return bool

ScopeOpen() public method

public ScopeOpen ( int address, int line ) : void
address int
line int
return void

TryGetOpenScope() public method

public TryGetOpenScope ( Scope &scope ) : bool
scope Scope
return bool