stx_goodies_petitparser.st
changeset 608 964384fe2ca5
parent 591 a3c2fee0f2c3
child 622 e2a05b463760
equal deleted inserted replaced
607:019302eb9dd9 608:964384fe2ca5
    55         #'stx:libbasic2'    "Text - extended "
    55         #'stx:libbasic2'    "Text - extended "
    56     )
    56     )
    57 !
    57 !
    58 
    58 
    59 referencedPreRequisites
    59 referencedPreRequisites
    60     "list all packages containing classes referenced by the packages's members.
    60     "list packages which are a prerequisite, because they contain
    61      This list can be maintained manually or (better) generated and
    61      classes which are referenced by my classes.
    62      updated by looking for global variable accesses
    62      These packages are NOT needed as a prerequisite for compiling or loading,
    63      (the browser has a menu function for that)
    63      however, a class from it may be referenced during execution and having it
    64      However, often too much is found, and you may want to explicitely
    64      unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
    65      exclude individual packages in the #excludedFromPreRequisites method."
    65      includes explicit checks for the package being present.
       
    66      This method is generated automatically,
       
    67      by searching all classes (and their packages) which are referenced by my classes.
       
    68      Please also take a look at the #mandatoryPreRequisites method"
    66 
    69 
    67     ^ #(
    70     ^ #(
    68     )
    71     )
    69 !
    72 !
    70 
    73 
   150     )
   153     )
   151 !
   154 !
   152 
   155 
   153 extensionMethodNames
   156 extensionMethodNames
   154     "lists the extension methods which are to be included in the project.
   157     "lists the extension methods which are to be included in the project.
   155      Entries are 2-element array literals, consisting of class-name and selector."
   158      Entries are 2-element array literals, consisting of class-name and selector.
       
   159      A correponding method with real names must be present in my concrete subclasses
       
   160      if it has extensions."
   156 
   161 
   157     ^ #(
   162     ^ #(
   158         Block asParser
   163         Block asParser
   159         BlockContext asParser
   164         BlockContext asParser
   160         Character asParser
   165         Character asParser