islands/stx_goodies_petitparser_islands.st
changeset 387 e2b2ccaa4de6
child 389 009c2e13973c
equal deleted inserted replaced
386:a409905f7f2d 387:e2b2ccaa4de6
       
     1 "{ Package: 'stx:goodies/petitparser/islands' }"
       
     2 
       
     3 LibraryDefinition subclass:#stx_goodies_petitparser_islands
       
     4 	instanceVariableNames:''
       
     5 	classVariableNames:''
       
     6 	poolDictionaries:''
       
     7 	category:'* Projects & Packages *'
       
     8 !
       
     9 
       
    10 
       
    11 !stx_goodies_petitparser_islands class methodsFor:'accessing - monticello'!
       
    12 
       
    13 monticelloLastMergedVersionInfo
       
    14     "The last merged version is: "
       
    15 
       
    16     ^ '
       
    17     Name: PetitIslands-JanKurs.10
       
    18     Author: JanKurs
       
    19     Time: 06-10-2014, 11:50:57 AM
       
    20     UUID: 19560ad2-4899-43d5-8c69-cf7274ad4f04  
       
    21     Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main
       
    22     '
       
    23 
       
    24     "Created: / 03-10-2014 / 02:27:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    25     "Modified: / 08-10-2014 / 00:24:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    26 !
       
    27 
       
    28 monticelloName
       
    29     "Return name of the package for Monticello. This is used when package is exported"
       
    30 
       
    31     ^ 'PetitIslands'
       
    32 
       
    33     "Created: / 03-10-2014 / 01:47:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    34     "Modified: / 08-10-2014 / 00:24:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    35 ! !
       
    36 
       
    37 !stx_goodies_petitparser_islands class methodsFor:'accessing - tests'!
       
    38 
       
    39 testSuite
       
    40     "generate and return a testSuite containing all of my test-classes"
       
    41 
       
    42     Smalltalk loadPackage: 'stx:goodies/petitparser/islands/tests'.
       
    43     ^ 'stx:goodies/petitparser/islands/tests' asPackageId projectDefinitionClass testSuite
       
    44 
       
    45     "Modified: / 08-10-2014 / 00:26:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    46 ! !
       
    47 
       
    48 !stx_goodies_petitparser_islands class methodsFor:'description'!
       
    49 
       
    50 excludedFromPreRequisites
       
    51     "list packages which are to be explicitely excluded from the automatic constructed
       
    52      prerequisites list. If empty, everything that is found along the inheritance of any of
       
    53      my classes is considered to be a prerequisite package."
       
    54 
       
    55     ^ #(
       
    56     )
       
    57 !
       
    58 
       
    59 mandatoryPreRequisites
       
    60     "list packages which are mandatory as a prerequisite.
       
    61      This are packages containing superclasses of my classes and classes which
       
    62      are extended by myself.
       
    63      They are mandatory, because we need these packages as a prerequisite for loading and compiling.
       
    64      This method is generated automatically,
       
    65      by searching along the inheritance chain of all of my classes."
       
    66 
       
    67     ^ #(
       
    68         #'stx:goodies/petitparser'    "PPChoiceParser - extended"
       
    69         #'stx:libbasic'    "LibraryDefinition - superclass of stx_goodies_petitparser_islands"
       
    70     )
       
    71 !
       
    72 
       
    73 referencedPreRequisites
       
    74     "list packages which are a prerequisite, because they contain
       
    75      classes which are referenced by my classes.
       
    76      We do not need these packages as a prerequisite for loading or compiling.
       
    77      This method is generated automatically,
       
    78      by searching all classes (and their packages) which are referenced by my classes."
       
    79 
       
    80     ^ #(
       
    81         #'stx:goodies/petitparser/analyzer'    "PPSentinel - referenced by PPParser>>nextSets"
       
    82     )
       
    83 !
       
    84 
       
    85 subProjects
       
    86     "list packages which are known as subprojects.
       
    87      The generated makefile will enter those and make there as well.
       
    88      However: they are not forced to be loaded when a package is loaded;
       
    89      for those, redefine requiredPrerequisites."
       
    90 
       
    91     ^ #(
       
    92     )
       
    93 ! !
       
    94 
       
    95 !stx_goodies_petitparser_islands class methodsFor:'description - contents'!
       
    96 
       
    97 classNamesAndAttributes
       
    98     "lists the classes which are to be included in the project.
       
    99      Each entry in the list may be: a single class-name (symbol),
       
   100      or an array-literal consisting of class name and attributes.
       
   101      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
       
   102 
       
   103     ^ #(
       
   104         "<className> or (<className> attributes...) in load order"
       
   105         (JavaParser autoload)
       
   106         PPInputEnds
       
   107         PPIsland
       
   108         PPNonEmptyParser
       
   109         PPWater
       
   110         (XmlFeedParser autoload)
       
   111         #'stx_goodies_petitparser_islands'
       
   112         PPMemoizingIsland
       
   113         (RobustXmlFeedParser autoload)
       
   114     )
       
   115 
       
   116     "Modified: / 08-10-2014 / 00:30:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   117 !
       
   118 
       
   119 extensionMethodNames
       
   120     "list class/selector pairs of extensions.
       
   121      A correponding method with real names must be present in my concrete subclasses"
       
   122 
       
   123     ^ #(
       
   124         PPChoiceParser acceptsEpsilonOpenSet:
       
   125         PPContext waterPosition
       
   126         PPContext waterPosition:
       
   127         PPDelegateParser acceptsEpsilon
       
   128         PPDelegateParser acceptsEpsilonOpenSet:
       
   129         PPEpsilonParser acceptsEpsilon
       
   130         PPListParser acceptsEpsilon
       
   131         PPLiteralParser acceptsEpsilon
       
   132         PPOptionalParser acceptsEpsilon
       
   133         PPOptionalParser acceptsEpsilonOpenSet:
       
   134         PPParser acceptsEpsilon
       
   135         PPParser acceptsEpsilonOpenSet:
       
   136         PPParser island
       
   137         PPParser island:
       
   138         PPParser nextSets
       
   139         PPParser nextSets:into:
       
   140         PPPredicateParser acceptsEpsilon
       
   141         PPRepeatingParser nextSets:into:
       
   142         PPSequenceParser acceptsEpsilonOpenSet:
       
   143         PPSequenceParser nextSets:into:
       
   144     )
       
   145 ! !
       
   146 
       
   147 !stx_goodies_petitparser_islands class methodsFor:'description - project information'!
       
   148 
       
   149 companyName
       
   150     "Returns a company string which will appear in <lib>.rc.
       
   151      Under win32, this is placed into the dlls file-info"
       
   152 
       
   153     ^ 'eXept Software AG'
       
   154 !
       
   155 
       
   156 description
       
   157     "Returns a description string which will appear in nt.def / bc.def"
       
   158 
       
   159     ^ 'Smalltalk/X Class library'
       
   160 !
       
   161 
       
   162 legalCopyright
       
   163     "Returns a copyright string which will appear in <lib>.rc.
       
   164      Under win32, this is placed into the dlls file-info"
       
   165 
       
   166     ^ 'Copyright Claus Gittinger 1988-2014\nCopyright eXept Software AG 1998-2014'
       
   167 !
       
   168 
       
   169 productName
       
   170     "Returns a product name which will appear in <lib>.rc.
       
   171      Under win32, this is placed into the dlls file-info.
       
   172      This method is usually redefined in a concrete application definition"
       
   173 
       
   174     ^ 'Smalltalk/X'
       
   175 ! !
       
   176 
       
   177 !stx_goodies_petitparser_islands class methodsFor:'documentation'!
       
   178 
       
   179 version_HG
       
   180     ^ '$Changeset: <not expanded> $'
       
   181 ! !
       
   182