jv_smallsense.st
changeset 192 f27ce6dac101
parent 179 e444be9de40a
child 196 47c92efe24e5
equal deleted inserted replaced
191:49c0c66eb21a 192:f27ce6dac101
    34     ^ #(
    34     ^ #(
    35     )
    35     )
    36 !
    36 !
    37 
    37 
    38 mandatoryPreRequisites
    38 mandatoryPreRequisites
    39     "list all required mandatory packages.
    39     "list packages which are mandatory as a prerequisite.
    40      Packages are mandatory, if they contain superclasses of the package's classes
    40      This are packages containing superclasses of my classes and classes which
    41      or classes which are extended by this package.
    41      are extended by myself.
    42      This list can be maintained manually or (better) generated and
    42      They are mandatory, beacuse we need these packages as a prerequisite for loading and compiling.
    43      updated by scanning the superclass hierarchies
    43      This method is generated automatically,
    44      (the browser has a menu function for that)"
    44      by searching along the inheritance chain of all of my classes."
    45 
    45 
    46     ^ #(
    46     ^ #(
    47         #'stx:goodies/refactoryBrowser/helpers'    "BrowserEnvironment - superclass of SmallSense::SmalltalkUnacceptedMethodEnvironment "
    47         #'stx:goodies/refactoryBrowser/helpers'    "BrowserEnvironment - superclass of SmallSense::SmalltalkUnacceptedMethodEnvironment "
    48         #'stx:goodies/refactoryBrowser/lint'    "RBLintRule - extended "
    48         #'stx:goodies/refactoryBrowser/lint'    "RBLintRule - extended "
    49         #'stx:goodies/sunit'    "TestAsserter - superclass of SmallSense::BaseTestClass "
    49         #'stx:libbasic'    "Autoload - superclass of SmallSense::BaseTestClass "
    50         #'stx:libbasic'    "Collection - extended "
       
    51         #'stx:libcomp'    "AbstractSyntaxHighlighter - superclass of SmallSense::SmalltalkParser "
    50         #'stx:libcomp'    "AbstractSyntaxHighlighter - superclass of SmallSense::SmalltalkParser "
    52         #'stx:libhtml'    "HTMLDocumentFrame - extended "
    51         #'stx:libhtml'    "HTMLDocumentFrame - extended "
    53         #'stx:libtool'    "AbstractSettingsApplication - superclass of SmallSense::SettingsAppl "
    52         #'stx:libtool'    "AbstractSettingsApplication - superclass of SmallSense::SettingsAppl "
    54         #'stx:libview'    "DeviceGraphicsContext - extended "
    53         #'stx:libview'    "DeviceGraphicsContext - extended "
    55         #'stx:libview2'    "ApplicationModel - extended "
    54         #'stx:libview2'    "ApplicationModel - extended "
    83         #'stx:libwidg2'    "HierarchicalItem - superclass of SmallSenseParseNodeInspector::ParseNodeItem "
    82         #'stx:libwidg2'    "HierarchicalItem - superclass of SmallSenseParseNodeInspector::ParseNodeItem "
    84     )
    83     )
    85 !
    84 !
    86 
    85 
    87 referencedPreRequisites
    86 referencedPreRequisites
    88     "list all packages containing classes referenced by the packages's members.
    87     "list packages which are a prerequisite, because they contain
    89      This list can be maintained manually or (better) generated and
    88      classes which are referenced by my classes.
    90      updated by looking for global variable accesses
    89      We do not need these packages as a prerequisite for loading or compiling.
    91      (the browser has a menu function for that)
    90      This method is generated automatically,
    92      However, often too much is found, and you may want to explicitely
    91      by searching all classes (and their packages) which are referenced by my classes."
    93      exclude individual packages in the #excludedFromPreRequisites method."
       
    94 
    92 
    95     ^ #(
    93     ^ #(
    96         #'stx:goodies/refactoryBrowser/parser'    "RBFormatter - referenced by SmallSense::SmalltalkEditSupport>>electricInsertSnippetAfterDoubleColon "
    94         #'stx:goodies/refactoryBrowser/parser'    "RBFormatter - referenced by SmallSense::SmalltalkEditSupport>>electricInsertSnippetAfterDoubleColon "
    97         #'stx:libbasic2'    "BackgroundQueueProcessingJob - referenced by SmallSense::Manager>>initialize "
    95         #'stx:libbasic2'    "BackgroundQueueProcessingJob - referenced by SmallSense::Manager>>initialize "
    98         #'stx:libbasic3'    "ChangeSet - referenced by RBTransformationRule>>fixes: "
    96         #'stx:libbasic3'    "ChangeSet - referenced by RBTransformationRule>>fixes: "
   160      or an array-literal consisting of class name and attributes.
   158      or an array-literal consisting of class name and attributes.
   161      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
   159      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
   162 
   160 
   163     ^ #(
   161     ^ #(
   164         "<className> or (<className> attributes...) in load order"
   162         "<className> or (<className> attributes...) in load order"
   165         (#'SmallSense::BaseTestClass' autoload)
       
   166         #'SmallSense::CodeHighlightingService'
   163         #'SmallSense::CodeHighlightingService'
   167         #'SmallSense::CodeNavigationService'
   164         #'SmallSense::CodeNavigationService'
   168         #'SmallSense::CompletionContext'
   165         #'SmallSense::CompletionContext'
   169         #'SmallSense::CompletionController'
   166         #'SmallSense::CompletionController'
   170         #'SmallSense::CompletionEngine'
   167         #'SmallSense::CompletionEngine'
   189         #'SmallSense::SmalltalkParseNodeVisitor'
   186         #'SmallSense::SmalltalkParseNodeVisitor'
   190         #'SmallSense::SmalltalkParser'
   187         #'SmallSense::SmalltalkParser'
   191         #'SmallSense::SmalltalkQuickFixer'
   188         #'SmallSense::SmalltalkQuickFixer'
   192         #'SmallSense::SmalltalkSyntaxHighlighter'
   189         #'SmallSense::SmalltalkSyntaxHighlighter'
   193         #'SmallSense::SmalltalkUnacceptedMethodEnvironment'
   190         #'SmallSense::SmalltalkUnacceptedMethodEnvironment'
   194         (#'SmallSense::TestCase' autoload)
       
   195         #'SmallSense::Type'
   191         #'SmallSense::Type'
   196         #'SmallSense::TypeHolder'
   192         #'SmallSense::TypeHolder'
   197         #'jv_smallsense'
   193         #'jv_smallsense'
   198         #'SmallSense::ClassInfo'
   194         #'SmallSense::ClassInfo'
   199         #'SmallSense::ClassPO'
   195         #'SmallSense::ClassPO'
   200         #'SmallSense::ClassType'
   196         #'SmallSense::ClassType'
   201         #'SmallSense::ConstantPO'
   197         #'SmallSense::ConstantPO'
   202         (#'SmallSense::FinderTests' autoload)
       
   203         #'SmallSense::GenericEditSupport'
   198         #'SmallSense::GenericEditSupport'
   204         #'SmallSense::JavaCompletionEngineSimple'
   199         #'SmallSense::JavaCompletionEngineSimple'
   205         #'SmallSense::JavaEditSupport'
   200         #'SmallSense::JavaEditSupport'
   206         #'SmallSense::JavaImportPO'
   201         #'SmallSense::JavaImportPO'
   207         #'SmallSense::MethodInfo'
   202         #'SmallSense::MethodInfo'
   208         #'SmallSense::MethodPO'
   203         #'SmallSense::MethodPO'
   209         (#'SmallSense::RecognizerTests' autoload)
       
   210         #'SmallSense::SmalltalkCompletionEngine'
   204         #'SmallSense::SmalltalkCompletionEngine'
   211         #'SmallSense::SmalltalkEditSupport'
   205         #'SmallSense::SmalltalkEditSupport'
   212         #'SmallSense::SmalltalkInferencer'
   206         #'SmallSense::SmalltalkInferencer'
   213         #'SmallSense::SmalltalkParseNodeFinder'
   207         #'SmallSense::SmalltalkParseNodeFinder'
   214         (#'SmallSense::SmalltalkParserTests' autoload)
       
   215         #'SmallSense::SnippetPO'
   208         #'SmallSense::SnippetPO'
   216         #'SmallSense::UnionType'
   209         #'SmallSense::UnionType'
   217         #'SmallSense::UnknownType'
   210         #'SmallSense::UnknownType'
   218         #'SmallSense::VariablePO'
   211         #'SmallSense::VariablePO'
   219         #'SmallSense::GroovyCompletionEngineSimple'
   212         #'SmallSense::GroovyCompletionEngineSimple'
   220         #'SmallSense::GroovyEditSupport'
   213         #'SmallSense::GroovyEditSupport'
       
   214         #'SmallSense::MethodKeywordRestPO'
       
   215         (#'SmallSense::BaseTestClass' autoload)
       
   216         (#'SmallSense::FinderTests' autoload)
       
   217         (#'SmallSense::RecognizerTests' autoload)
       
   218         (#'SmallSense::SmalltalkParserTests' autoload)
       
   219         (#'SmallSense::TestCase' autoload)
   221     )
   220     )
   222 !
   221 !
   223 
   222 
   224 extensionMethodNames
   223 extensionMethodNames
   225     "lists the extension methods which are to be included in the project.
   224     "list class/selector pairs of extensions.
   226      Entries are 2-element array literals, consisting of class-name and selector."
   225      A correponding method with real names must be present in my concrete subclasses"
   227 
   226 
   228     ^ #(
   227     ^ #(
   229         ParseNode isSelector
   228         ParseNode isSelector
   230         AssignmentNode childNamesAndValuesDo:
   229         AssignmentNode childNamesAndValuesDo:
   231         AssignmentNode inferedType
   230         AssignmentNode inferedType