C# Class Axiom.Compiler.Framework.Generators.AMGenerator

Mostra file Open project: ahodroj/prologdotnet Class Usage Examples

Public Methods

Method Description
AMGenerator ( ArrayList instructions ) : System
DeclareProcedure ( string name, int arity ) : void
Emit ( int opcode ) : void

Generates an abstract machine instruction.

Emit ( int opcode, string arg1 ) : void
Emit ( int opcode, string arg1, string arg2 ) : void
Emit ( int opcode, string arg1, string arg2, string arg3 ) : void
Emit ( int opcode, string arg1, string arg2, string arg3, string arg4 ) : void
EmitBCall ( IAbstractMachinePredicate pred ) : void
EmitCall ( string name, int arity ) : void
EmitCallVar ( string name, int arity ) : void
EmitExecute ( string name, int arity ) : void
EmitExecuteVar ( string name, int arity ) : void
EmitFCall ( string procName, string methodName, string assembly, string classType ) : void
EndProcedure ( ) : void

Method Details

AMGenerator() public method

public AMGenerator ( ArrayList instructions ) : System
instructions System.Collections.ArrayList
return System

DeclareProcedure() public method

public DeclareProcedure ( string name, int arity ) : void
name string
arity int
return void

Emit() public method

Generates an abstract machine instruction.
public Emit ( int opcode ) : void
opcode int instruction opcode.
return void

Emit() public method

public Emit ( int opcode, string arg1 ) : void
opcode int
arg1 string
return void

Emit() public method

public Emit ( int opcode, string arg1, string arg2 ) : void
opcode int
arg1 string
arg2 string
return void

Emit() public method

public Emit ( int opcode, string arg1, string arg2, string arg3 ) : void
opcode int
arg1 string
arg2 string
arg3 string
return void

Emit() public method

public Emit ( int opcode, string arg1, string arg2, string arg3, string arg4 ) : void
opcode int
arg1 string
arg2 string
arg3 string
arg4 string
return void

EmitBCall() public method

public EmitBCall ( IAbstractMachinePredicate pred ) : void
pred IAbstractMachinePredicate
return void

EmitCall() public method

public EmitCall ( string name, int arity ) : void
name string
arity int
return void

EmitCallVar() public method

public EmitCallVar ( string name, int arity ) : void
name string
arity int
return void

EmitExecute() public method

public EmitExecute ( string name, int arity ) : void
name string
arity int
return void

EmitExecuteVar() public method

public EmitExecuteVar ( string name, int arity ) : void
name string
arity int
return void

EmitFCall() public method

public EmitFCall ( string procName, string methodName, string assembly, string classType ) : void
procName string
methodName string
assembly string
classType string
return void

EndProcedure() public method

public EndProcedure ( ) : void
return void