cvut_stx_goodies_newcompiler.st
changeset 38 a64f4ad690f5
parent 37 be8c2dd09dff
child 39 d361eb9419e6
equal deleted inserted replaced
37:be8c2dd09dff 38:a64f4ad690f5
     9 
     9 
    10 
    10 
    11 !cvut_stx_goodies_newcompiler class methodsFor:'description'!
    11 !cvut_stx_goodies_newcompiler class methodsFor:'description'!
    12 
    12 
    13 preRequisites
    13 preRequisites
       
    14     "list all required packages.
       
    15      This list can be maintained manually or (better) generated and
       
    16      updated by scanning the superclass hierarchies and looking for
       
    17      global variable accesses. (the browser has a menu function for that)
       
    18      Howevery, often too much is found, and you may want to explicitely
       
    19      exclude individual packages in the #excludedFromPrerequisites method."
       
    20 
    14     ^ #(
    21     ^ #(
    15         #'stx:goodies/libtool3'    "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode "
    22         #'stx:goodies/refactoryBrowser/parser'    "RBSequenceNode - referenced by IRDecompiler>>endCase: "
    16         #'stx:goodies/refactoryBrowser/parser'    "RBIdentifierToken - referenced by IRDecompiler>>newVar: "
       
    17         #'stx:goodies/sunit'    "TestCase - superclass of IRTransformTest "
    23         #'stx:goodies/sunit'    "TestCase - superclass of IRTransformTest "
    18         #'stx:libbasic'    "Link - superclass of IRLine "
    24         #'stx:libbasic'    "LibraryDefinition - superclass of cvut_stx_goodies_newcompiler "
    19         #'stx:libbasic2'    "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize "
    25         #'stx:libbasic2'    "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize "
    20         #'stx:libcomp'    "PrimitiveNode - referenced by IRFunction>>initialize "
    26         #'stx:libcomp'    "Scanner - superclass of extended ByteCodeCompiler "
    21         #'stx:libcompat'    "Preferences - referenced by IRDecompiler>>removeClosureCreation: "
    27         #'stx:libcompat'    "Preferences - referenced by IRDecompiler>>removeClosureCreation: "
    22         #'stx:libwidg'    "ScrollableView - referenced by IRFunction>>inspector2TabIRCode "
    28         #'stx:libtool'    "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode "
       
    29         #'stx:libwidg'    "TextView - referenced by IRFunction>>inspector2TabIRCode "
    23     )
    30     )
    24 ! !
    31 ! !
    25 
    32 
    26 !cvut_stx_goodies_newcompiler class methodsFor:'description - contents'!
    33 !cvut_stx_goodies_newcompiler class methodsFor:'description - contents'!
    27 
    34 
    28 classNamesAndAttributes
    35 classNamesAndAttributes
       
    36     "lists the classes which are to be included in the project.
       
    37      Each entry in the list may be: a single class-name (symbol),
       
    38      or an array-literal consisting of class name and attributes.
       
    39      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
       
    40 
    29     ^ #(
    41     ^ #(
    30         "<className> or (<className> attributes...) in load order"
    42         "<className> or (<className> attributes...) in load order"
    31         IRBuilder
    43         IRBuilder
    32         IRBuilderTest
       
    33         IRBytecodeGenerator
    44         IRBytecodeGenerator
    34         IRFunction
    45         IRFunction
    35         IRInstruction
    46         IRInstruction
    36         IRInterpreter
    47         IRInterpreter
    37         IRSequence
    48         IRSequence
    38         IRStackCount
    49         IRStackCount
    39         IRTransformTest
       
    40         #'cvut_stx_goodies_newcompiler'
    50         #'cvut_stx_goodies_newcompiler'
    41         IRAccess
    51         IRAccess
    42         IRClosure
    52         IRClosure
    43         IRConstant
    53         IRConstant
    44         IRDecompiler
    54         IRDecompiler
    61         IRInstVarStore
    71         IRInstVarStore
    62         IRLiteralVariableRead
    72         IRLiteralVariableRead
    63         IRLiteralVariableStore
    73         IRLiteralVariableStore
    64         IRTempRead
    74         IRTempRead
    65         IRTempStore
    75         IRTempStore
       
    76         (IRBuilderTest autoload)
       
    77         (IRTransformTest autoload)
    66     )
    78     )
    67 !
    79 !
    68 
    80 
    69 extensionMethodNames
    81 extensionMethodNames
       
    82     "lists the extension methods which are to be included in the project.
       
    83      Entries are 2-element array literals, consisting of class-name and selector."
       
    84 
    70     ^ #(
    85     ^ #(
    71         ByteCodeCompiler literalArray:
    86         ByteCodeCompiler literalArray:
    72         Class binding
    87         Class binding
    73         Class bindingOf:
    88         Class bindingOf:
    74     )
    89     )
   121 
   136 
   122 svnRevisionNr
   137 svnRevisionNr
   123     "Return a SVN revision number of myself.
   138     "Return a SVN revision number of myself.
   124      This number is updated after a commit"
   139      This number is updated after a commit"
   125 
   140 
   126     ^ "$SVN-Revision:"'nil             '"$"
   141     ^ "$SVN-Revision:"'38              '"$"
   127 ! !
   142 ! !
   128 
   143 
   129 !cvut_stx_goodies_newcompiler class methodsFor:'documentation'!
   144 !cvut_stx_goodies_newcompiler class methodsFor:'documentation'!
   130 
   145 
   131 version
   146 version