C# Class ABT.Env.Scope

Datei anzeigen Open project: phisiart/C-Compiler

Public Properties

Property Type Description
enums List
esp_pos System.Int32
func FunctionType
globals List
locals List
typedefs List

Public Methods

Method Description
Dump ( Int32 depth, String single_indent ) : String
Find ( String name ) : Entry
InScope ( ) : Scope
PushEntry ( EntryKind loc, String name, ExprType type ) : Scope
PushEnum ( String name, ExprType type, Int32 value ) : Scope
Scope ( ) : System
SetCurrentFunction ( FunctionType type ) : Scope

Private Methods

Method Description
Scope ( List stack_entries, Int32 stack_offset, List global_entries, FunctionType curr_func, List typedef_entries, List enum_entries ) : System
Scope ( Scope other ) : System

Method Details

Dump() public method

public Dump ( Int32 depth, String single_indent ) : String
depth System.Int32
single_indent String
return String

Find() public method

public Find ( String name ) : Entry
name String
return Entry

InScope() public method

public InScope ( ) : Scope
return Scope

PushEntry() public method

public PushEntry ( EntryKind loc, String name, ExprType type ) : Scope
loc EntryKind
name String
type ExprType
return Scope

PushEnum() public method

public PushEnum ( String name, ExprType type, Int32 value ) : Scope
name String
type ExprType
value System.Int32
return Scope

Scope() public method

public Scope ( ) : System
return System

SetCurrentFunction() public method

public SetCurrentFunction ( FunctionType type ) : Scope
type FunctionType
return Scope

Property Details

enums public_oe property

public List enums
return List

esp_pos public_oe property

public Int32,System esp_pos
return System.Int32

func public_oe property

public FunctionType,ABT func
return FunctionType

globals public_oe property

public List globals
return List

locals public_oe property

public List locals
return List

typedefs public_oe property

public List typedefs
return List