eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'STCCompilerInterface':

Home

everywhere
www.exept.de
for:
[back]

Class: STCCompilerInterface


Inheritance:

   Object
   |
   +--STCCompilerInterface

Package:
stx:libcomp
Category:
System-Compiler
Version:
rev: 1.15 date: 2010/04/16 17:36:24
user: stefan
file: STCCompilerInterface.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


a refactored complex method - originally found in ByteCodeCompiler.


Class protocol:

accessing
o  stcPathOf: command
return the path to an stc command, or nil if not found.

class initialization
o  initialize


Instance protocol:

accessing
o  cFileName: something

o  incrementalStcPath
return the path to the stc command for incremental method compilation,
or nil if not found.

o  originator: something

o  parserFlags: something

o  stFileName: something

machine code generation
o  compileToMachineCode: aString forClass: aClass selector: selector inCategory: categoryArg notifying: requestorArg install: install skipIfSame: skipIfSame silent: silent
this is called to compile primitive code.
This is EXPERIMENTAL and going to be changed to raise an error,
an redefined in subclasses which can do it (either by direct compilation, or by calling
the external stc do do it).

machine code generation-helpers
o  compileToC
compile st to C using stc

o  compileToExe
compile C to exe, using cc

o  compileToObj
compile C to obj, using cc

o  ensureExternalToolsArePresent

o  ensureModuleDirectoryExists

o  ensureSuperClassesAreLoadedOf: aClass

o  fileOutAllDefinitionsOf: aClass to: aStream rememberIn: definedClasses

o  generateSTSource: aString

o  reportCompilationError

o  setupCompilationCommandArguments



ST/X 6.1.1; WebServer 1.620 at exept:8081; Tue, 22 May 2012 21:59:19 GMT