C# Class CSI.MacroSubstitutor

ファイルを表示 Open project: keyword/CSharp-Interpreter-for-Unity-3D

Public Methods

Method Description
AddMacro ( string name, string subst, string parms ) : void
Lookup ( string s ) : MacroEntry
ProcessLine ( string line ) : string
RemoveMacro ( string name ) : void
ReplaceParms ( MacroEntry me, string actual_parms ) : string
Substitute ( string str ) : string

Method Details

AddMacro() public method

public AddMacro ( string name, string subst, string parms ) : void
name string
subst string
parms string
return void

Lookup() public method

public Lookup ( string s ) : MacroEntry
s string
return MacroEntry

ProcessLine() public method

public ProcessLine ( string line ) : string
line string
return string

RemoveMacro() public method

public RemoveMacro ( string name ) : void
name string
return void

ReplaceParms() public method

public ReplaceParms ( MacroEntry me, string actual_parms ) : string
me MacroEntry
actual_parms string
return string

Substitute() public method

public Substitute ( string str ) : string
str string
return string