stx_goodies_petitparser.st
changeset 8 9bb6c46efe0f
parent 5 804a351a9415
child 47 4f3eaf2957f8
equal deleted inserted replaced
7:019b26bd21a8 8:9bb6c46efe0f
     5 	classVariableNames:''
     5 	classVariableNames:''
     6 	poolDictionaries:''
     6 	poolDictionaries:''
     7 	category:'* Projects & Packages *'
     7 	category:'* Projects & Packages *'
     8 !
     8 !
     9 
     9 
       
    10 !stx_goodies_petitparser class methodsFor:'documentation'!
       
    11 
       
    12 extensionsVersion_SVN
       
    13     ^ '$Id: stx_goodies_petitparser.st,v 1.2 2012-05-04 21:58:01 vrany Exp $'
       
    14 ! !
    10 
    15 
    11 !stx_goodies_petitparser class methodsFor:'accessing'!
    16 !stx_goodies_petitparser class methodsFor:'accessing'!
    12 
    17 
    13 monticelloPackageName
    18 monticelloPackageName
    14     "hook for packages which have been loaded from monticello"
    19     "hook for packages which have been loaded from monticello"
    35      global variable accesses. (the browser has a menu function for that)
    40      global variable accesses. (the browser has a menu function for that)
    36      Howevery, often too much is found, and you may want to explicitely
    41      Howevery, often too much is found, and you may want to explicitely
    37      exclude individual packages in the #excludedFromPrerequisites method."
    42      exclude individual packages in the #excludedFromPrerequisites method."
    38 
    43 
    39     ^ #(
    44     ^ #(
    40 	#'stx:goodies/sunit'    "TestCase - superclass of PPTokenTest "
    45         #'stx:goodies/sunit'    "TestCase - superclass of PPTokenTest "
    41 	#'stx:libbasic'    "Object - superclass of PPFailure "
    46         #'stx:libbasic'    "Object - superclass of PPFailure "
    42 	#'stx:libbasic2'    "Text"
    47         #'stx:libbasic2'    "Text"
    43     )
    48     )
    44 ! !
    49 ! !
    45 
    50 
    46 !stx_goodies_petitparser class methodsFor:'description - actions'!
    51 !stx_goodies_petitparser class methodsFor:'description - actions'!
    47 
    52 
    59      Each entry in the list may be: a single class-name (symbol),
    64      Each entry in the list may be: a single class-name (symbol),
    60      or an array-literal consisting of class name and attributes.
    65      or an array-literal consisting of class name and attributes.
    61      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
    66      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
    62 
    67 
    63     ^ #(
    68     ^ #(
    64 	"<className> or (<className> attributes...) in load order"
    69         "<className> or (<className> attributes...) in load order"
    65 	(PPAbstractParseTest autoload)
    70         (PPAbstractParseTest autoload)
    66 	PPCharSetPredicate
    71         PPCharSetPredicate
    67 	PPFailure
    72         PPFailure
    68 	PPMemento
    73         PPMemento
    69 	PPParser
    74         PPParser
    70 	(PPParserResource autoload)
    75         (PPParserResource autoload)
    71 	PPStream
    76         PPStream
    72 	PPToken
    77         PPToken
    73 	#'stx_goodies_petitparser'
    78         #'squeak_petitparser'
    74 	(PPComposedTest autoload)
    79         (PPComposedTest autoload)
    75 	(PPCompositeParserTest autoload)
    80         (PPCompositeParserTest autoload)
    76 	PPDelegateParser
    81         PPDelegateParser
    77 	PPEpsilonParser
    82         PPEpsilonParser
    78 	(PPExtensionTest autoload)
    83         (PPExtensionTest autoload)
    79 	PPFailingParser
    84         PPFailingParser
    80 	PPListParser
    85         PPListParser
    81 	PPLiteralParser
    86         PPLiteralParser
    82 	(PPMappingTest autoload)
    87         (PPMappingTest autoload)
    83 	(PPObjectTest autoload)
    88         (PPObjectTest autoload)
    84 	(PPParserTest autoload)
    89         (PPParserTest autoload)
    85 	PPPluggableParser
    90         PPPluggableParser
    86 	PPPredicateParser
    91         PPPredicateParser
    87 	(PPPredicateTest autoload)
    92         (PPPredicateTest autoload)
    88 	(PPScriptingTest autoload)
    93         (PPScriptingTest autoload)
    89 	(PPTokenTest autoload)
    94         (PPTokenTest autoload)
    90 	PPUnresolvedParser
    95         PPUnresolvedParser
    91 	PPActionParser
    96         PPActionParser
    92 	PPAndParser
    97         PPAndParser
    93 	(PPArithmeticParserTest autoload)
    98         (PPArithmeticParserTest autoload)
    94 	PPChoiceParser
    99         PPChoiceParser
    95 	PPCompositeParser
   100         PPCompositeParser
    96 	PPEndOfInputParser
   101         PPEndOfInputParser
    97 	PPExpressionParser
   102         PPExpressionParser
    98 	PPFlattenParser
   103         PPFlattenParser
    99 	(PPLambdaParserTest autoload)
   104         (PPLambdaParserTest autoload)
   100 	PPLiteralObjectParser
   105         PPLiteralObjectParser
   101 	PPLiteralSequenceParser
   106         PPLiteralSequenceParser
   102 	PPMemoizedParser
   107         PPMemoizedParser
   103 	PPNotParser
   108         PPNotParser
   104 	PPOptionalParser
   109         PPOptionalParser
   105 	PPPredicateObjectParser
   110         PPPredicateObjectParser
   106 	PPPredicateSequenceParser
   111         PPPredicateSequenceParser
   107 	PPRepeatingParser
   112         PPRepeatingParser
   108 	PPSequenceParser
   113         PPSequenceParser
   109 	PPTrimmingParser
   114         PPTrimmingParser
   110 	PPArithmeticParser
   115         PPArithmeticParser
   111 	(PPExpressionParserTest autoload)
   116         (PPExpressionParserTest autoload)
   112 	PPLambdaParser
   117         PPLambdaParser
   113 	PPTokenParser
   118         PPTokenParser
   114 	PPWrappingParser
   119         PPWrappingParser
   115     )
   120     )
   116 !
   121 !
   117 
   122 
   118 extensionMethodNames
   123 extensionMethodNames
   119     "lists the extension methods which are to be included in the project.
   124     "lists the extension methods which are to be included in the project.
   120      Entries are 2-element array literals, consisting of class-name and selector."
   125      Entries are 2-element array literals, consisting of class-name and selector."
   121 
   126 
   122     ^ #(
   127     ^ #(
   123 	Block asParser
   128         Block asParser
   124 	BlockContext asParser
   129         BlockContext asParser
   125 	Character #'-'
   130         Character #'-'
   126 	Character asParser
   131         Character asParser
   127 	Character ppMinus:
   132         Character ppMinus:
   128 	Object asParser
   133         Object asParser
   129 	Object isPetitFailure
   134         Object isPetitFailure
   130 	Object isPetitParser
   135         Object isPetitParser
   131 	PositionableStream asPetitStream
   136         PositionableStream asPetitStream
   132 	SequenceableCollection asParser
   137         SequenceableCollection asParser
   133 	SequenceableCollection asPetitStream
   138         SequenceableCollection asPetitStream
   134 	Set asParser
   139         Set asParser
   135 	Stream asPetitStream
   140         Stream asPetitStream
   136 	String asParser
   141         String asParser
   137 	Symbol asParser
   142         Symbol asParser
   138 	Symbol value:
   143         Symbol value:
   139 	Text asPetitStream
   144         Text asPetitStream
   140 	UndefinedObject asParser
   145         UndefinedObject asParser
   141     )
   146     )
   142 ! !
   147 ! !
   143 
   148 
   144 !stx_goodies_petitparser class methodsFor:'description - project information'!
   149 !stx_goodies_petitparser class methodsFor:'description - project information'!
   145 
   150 
   172     ^ '(C) Lukas Renggli'
   177     ^ '(C) Lukas Renggli'
   173 
   178 
   174     "Modified: / 17-12-2010 / 19:43:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   179     "Modified: / 17-12-2010 / 19:43:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   175 !
   180 !
   176 
   181 
       
   182 productInstallDirBaseName
       
   183     "Returns a default installDir which will appear in <app>.nsi.
       
   184      This is usually not the one you want to keep"
       
   185 
       
   186     ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
       
   187 !
       
   188 
   177 productName
   189 productName
   178     "Return a product name which will appear in <lib>.rc"
   190     "Return a product name which will appear in <lib>.rc"
   179 
   191 
   180     ^ 'Petit Parser'
   192     ^ 'Petit Parser'
   181 
   193 
   182     "Modified: / 17-12-2010 / 19:43:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   194     "Modified: / 17-12-2010 / 19:43:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   183 ! !
   195 ! !
   184 
   196 
   185 !stx_goodies_petitparser class methodsFor:'description - svn'!
   197 !stx_goodies_petitparser class methodsFor:'description - svn'!
       
   198 
       
   199 svnRepositoryUrlString
       
   200     "Return a SVN repository URL of myself.
       
   201      (Generated since 2011-04-08)
       
   202     "        
       
   203 
       
   204     ^ '$URL: https://vranyj1@swing.fit.cvut.cz/svn/squeak/petitparser/trunk/squeak_petitparser.st $'
       
   205 !
   186 
   206 
   187 svnRevisionNr
   207 svnRevisionNr
   188     "Return a SVN revision number of myself.
   208     "Return a SVN revision number of myself.
   189      This number is updated after a commit"
   209      This number is updated after a commit"
   190 
   210 
   191     ^ "$SVN-Revision:"'5M'"$"
   211     ^ "$SVN-Revision:"'11              '"$"
   192 ! !
   212 ! !
   193 
   213 
   194 !stx_goodies_petitparser class methodsFor:'documentation'!
   214 !stx_goodies_petitparser class methodsFor:'documentation'!
   195 
   215 
   196 version
   216 version
   197     ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.1 2012-01-13 11:24:08 cg Exp $'
   217     ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.2 2012-05-04 21:58:01 vrany Exp $'
   198 !
   218 !
   199 
   219 
   200 version_CVS
   220 version_CVS
   201     ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.1 2012-01-13 11:24:08 cg Exp $'
   221     ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.2 2012-05-04 21:58:01 vrany Exp $'
   202 !
   222 !
   203 
   223 
   204 version_SVN
   224 version_SVN
   205     ^ '§Id: stx_goodies_petitparser.st,v 1.1 2011/08/18 18:56:17 cg Exp §'
   225     ^ '§Id: squeak_petitparser.st 7 2012-03-12 19:06:12Z vranyj1 §'
   206 ! !
   226 ! !