analyzer/stx_goodies_petitparser_analyzer.st
changeset 225 d99d3e951afc
child 277 42d8f9316dce
equal deleted inserted replaced
224:447ef508ce1c 225:d99d3e951afc
       
     1 "{ Package: 'stx:goodies/petitparser/analyzer' }"
       
     2 
       
     3 LibraryDefinition subclass:#stx_goodies_petitparser_analyzer
       
     4 	instanceVariableNames:''
       
     5 	classVariableNames:''
       
     6 	poolDictionaries:''
       
     7 	category:'* Projects & Packages *'
       
     8 !
       
     9 
       
    10 
       
    11 !stx_goodies_petitparser_analyzer class methodsFor:'description'!
       
    12 
       
    13 excludedFromPreRequisites
       
    14     "list all packages which should be ignored in the automatic
       
    15      preRequisites scan. See #preRequisites for more."
       
    16 
       
    17     ^ #(
       
    18     )
       
    19 !
       
    20 
       
    21 mandatoryPreRequisites
       
    22     "list all required mandatory packages.
       
    23      Packages are mandatory, if they contain superclasses of the package's classes
       
    24      or classes which are extended by this package.
       
    25      This list can be maintained manually or (better) generated and
       
    26      updated by scanning the superclass hierarchies
       
    27      (the browser has a menu function for that)"
       
    28 
       
    29     ^ #(
       
    30         #'stx:goodies/petitparser'    "PPEpsilonParser - superclass of PPSentinel "
       
    31         #'stx:libbasic'    "LibraryDefinition - superclass of stx_goodies_petitparser_analyzer "
       
    32     )
       
    33 !
       
    34 
       
    35 referencedPreRequisites
       
    36     "list all packages containing classes referenced by the packages's members.
       
    37      This list can be maintained manually or (better) generated and
       
    38      updated by looking for global variable accesses
       
    39      (the browser has a menu function for that)
       
    40      However, often too much is found, and you may want to explicitely
       
    41      exclude individual packages in the #excludedFromPreRequisites method."
       
    42 
       
    43     ^ #(
       
    44     )
       
    45 !
       
    46 
       
    47 subProjects
       
    48     "list packages which are known as subprojects.
       
    49      The generated makefile will enter those and make there as well.
       
    50      However: they are not forced to be loaded when a package is loaded;
       
    51      for those, redefine requiredPrerequisites"
       
    52 
       
    53     ^ #(
       
    54     )
       
    55 ! !
       
    56 
       
    57 !stx_goodies_petitparser_analyzer class methodsFor:'description - contents'!
       
    58 
       
    59 classNamesAndAttributes
       
    60     "lists the classes which are to be included in the project.
       
    61      Each entry in the list may be: a single class-name (symbol),
       
    62      or an array-literal consisting of class name and attributes.
       
    63      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
       
    64 
       
    65     ^ #(
       
    66         "<className> or (<className> attributes...) in load order"
       
    67         PPPattern
       
    68         PPProcessor
       
    69         PPRule
       
    70         PPSentinel
       
    71         #'stx_goodies_petitparser_analyzer'
       
    72         PPListPattern
       
    73         PPReplaceRule
       
    74         PPRewriter
       
    75         PPSearchRule
       
    76         PPSearcher
       
    77         PPBlockReplaceRule
       
    78         PPParserReplaceRule
       
    79     )
       
    80 !
       
    81 
       
    82 extensionMethodNames
       
    83     "lists the extension methods which are to be included in the project.
       
    84      Entries are 2-element array literals, consisting of class-name and selector."
       
    85 
       
    86     ^ #(
       
    87     )
       
    88 ! !
       
    89 
       
    90 !stx_goodies_petitparser_analyzer class methodsFor:'description - project information'!
       
    91 
       
    92 companyName
       
    93     "Return a companyname which will appear in <lib>.rc"
       
    94 
       
    95     ^ 'eXept Software AG'
       
    96 !
       
    97 
       
    98 description
       
    99     "Return a description string which will appear in vc.def / bc.def"
       
   100 
       
   101     ^ 'Smalltalk/X Class library'
       
   102 !
       
   103 
       
   104 legalCopyright
       
   105     "Return a copyright string which will appear in <lib>.rc"
       
   106 
       
   107     ^ 'Copyright Claus Gittinger 1988-2014\nCopyright eXept Software AG 1998-2014'
       
   108 !
       
   109 
       
   110 productName
       
   111     "Return a product name which will appear in <lib>.rc"
       
   112 
       
   113     ^ 'Smalltalk/X'
       
   114 ! !
       
   115 
       
   116 !stx_goodies_petitparser_analyzer class methodsFor:'documentation'!
       
   117 
       
   118 version
       
   119     ^ '$Header: /cvs/stx/stx/goodies/petitparser/analyzer/stx_goodies_petitparser_analyzer.st,v 1.1 2014-03-04 15:55:01 cg Exp $'
       
   120 !
       
   121 
       
   122 version_CVS
       
   123     ^ '$Header: /cvs/stx/stx/goodies/petitparser/analyzer/stx_goodies_petitparser_analyzer.st,v 1.1 2014-03-04 15:55:01 cg Exp $'
       
   124 !
       
   125 
       
   126 version_MC
       
   127     ^ '$PetitAnalyzer-lr.41 608069e1-dadc-4435-abd6-995adf7519e2 2013-03-16T21:52:20 lr$'
       
   128 ! !
       
   129