stx_goodies_petitparser.st
changeset 377 6112a403a52d
parent 376 a2656b27cace
child 379 451b5ae38b72
equal deleted inserted replaced
376:a2656b27cace 377:6112a403a52d
    18     "Created: / 17-12-2010 / 19:44:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    18     "Created: / 17-12-2010 / 19:44:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    19 ! !
    19 ! !
    20 
    20 
    21 !stx_goodies_petitparser class methodsFor:'accessing - monticello'!
    21 !stx_goodies_petitparser class methodsFor:'accessing - monticello'!
    22 
    22 
       
    23 monticelloLastMergedVersionInfo
       
    24     "The last merged version is: "
       
    25 
       
    26     ^ '
       
    27     Name: PetitParser-JanKurs.250
       
    28     Author: JanKurs
       
    29     Time: 01-10-2014, 04:44:04 AM
       
    30     UUID: c46eea20-51a0-4deb-8fd5-8cb99810a8b4            
       
    31     Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main
       
    32     '
       
    33 
       
    34     "Created: / 03-10-2014 / 02:27:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    35 !
       
    36 
    23 monticelloName
    37 monticelloName
    24     "Return name of the package for Monticello. This is used when package is exported"
    38     "Return name of the package for Monticello. This is used when package is exported"
    25 
    39 
    26     ^ 'PetitParser'
    40     ^ 'PetitParser'
    27 
    41 
    47     ^ #(
    61     ^ #(
    48     )
    62     )
    49 !
    63 !
    50 
    64 
    51 mandatoryPreRequisites
    65 mandatoryPreRequisites
    52     "list all required mandatory packages.
    66     "list packages which are mandatory as a prerequisite.
    53      Packages are mandatory, if they contain superclasses of the package's classes
    67      This are packages containing superclasses of my classes and classes which
    54      or classes which are extended by this package.
    68      are extended by myself.
    55      This list can be maintained manually or (better) generated and
    69      They are mandatory, because we need these packages as a prerequisite for loading and compiling.
    56      updated by scanning the superclass hierarchies
    70      This method is generated automatically,
    57      (the browser has a menu function for that)"
    71      by searching along the inheritance chain of all of my classes."
    58 
    72 
    59     ^ #(
    73     ^ #(
    60         #'stx:goodies/sunit'    "TestAsserter - superclass of PPAbstractParseTest "
    74         #'stx:libbasic'    "ArrayedCollection - extended"
    61         #'stx:libbasic'    "ArrayedCollection - extended "
    75         #'stx:libbasic2'    "Text - extended"
    62         #'stx:libbasic2'    "Text - extended "
       
    63     )
    76     )
    64 !
    77 !
    65 
    78 
    66 referencedPreRequisites
    79 referencedPreRequisites
    67     "list all packages containing classes referenced by the packages's members.
    80     "list packages which are a prerequisite, because they contain
    68      This list can be maintained manually or (better) generated and
    81      classes which are referenced by my classes.
    69      updated by looking for global variable accesses
    82      We do not need these packages as a prerequisite for loading or compiling.
    70      (the browser has a menu function for that)
    83      This method is generated automatically,
    71      However, often too much is found, and you may want to explicitely
    84      by searching all classes (and their packages) which are referenced by my classes."
    72      exclude individual packages in the #excludedFromPreRequisites method."
       
    73 
    85 
    74     ^ #(
    86     ^ #(
    75     )
    87     )
    76 !
    88 !
    77 
    89 
   113      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
   125      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
   114 
   126 
   115     ^ #(
   127     ^ #(
   116         "<className> or (<className> attributes...) in load order"
   128         "<className> or (<className> attributes...) in load order"
   117         PPCharSetPredicate
   129         PPCharSetPredicate
       
   130         PPContext
       
   131         PPContextMemento
   118         PPFailure
   132         PPFailure
   119         PPMemento
   133         PPMemento
   120         PPParser
   134         PPParser
   121         PPStream
   135         PPStream
   122         PPToken
   136         PPToken
   126         PPFailingParser
   140         PPFailingParser
   127         PPListParser
   141         PPListParser
   128         PPLiteralParser
   142         PPLiteralParser
   129         PPPluggableParser
   143         PPPluggableParser
   130         PPPredicateParser
   144         PPPredicateParser
       
   145         PPStartOfLine
   131         PPUnresolvedParser
   146         PPUnresolvedParser
   132         PPActionParser
   147         PPActionParser
   133         PPAndParser
   148         PPAndParser
   134         PPChoiceParser
   149         PPChoiceParser
   135         PPCompositeParser
   150         PPCompositeParser
   154         PPLazyRepeatingParser
   169         PPLazyRepeatingParser
   155     )
   170     )
   156 !
   171 !
   157 
   172 
   158 extensionMethodNames
   173 extensionMethodNames
   159     "lists the extension methods which are to be included in the project.
   174     "list class/selector pairs of extensions.
   160      Entries are 2-element array literals, consisting of class-name and selector."
   175      A correponding method with real names must be present in my concrete subclasses"
   161 
   176 
   162     ^ #(
   177     ^ #(
   163         Block asParser
   178         Block asParser
   164         BlockContext asParser
   179         BlockContext asParser
   165         Character asParser
   180         Character asParser