stx_goodies_petitparser.st
author Claus Gittinger <cg@exept.de>
Tue, 04 Mar 2014 22:14:37 +0100
changeset 331 33ef8249a32b
parent 315 9142aa159c02
child 371 c703af84113c
child 375 e2b2f08d054e
permissions -rw-r--r--
initial checkin
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"{ Package: 'stx:goodies/petitparser' }"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
LibraryDefinition subclass:#stx_goodies_petitparser
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
	instanceVariableNames:''
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
	classVariableNames:''
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
	poolDictionaries:''
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
	category:'* Projects & Packages *'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
!stx_goodies_petitparser class methodsFor:'accessing'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
monticelloPackageName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
    "hook for packages which have been loaded from monticello"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
    ^ 'PetitParser'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
    "Created: / 17-12-2010 / 19:44:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!stx_goodies_petitparser class methodsFor:'description'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
excludedFromPreRequisites
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
    "list all packages which should be ignored in the automatic
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
     preRequisites scan. See #preRequisites for more."
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
    ^ #(
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
    )
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
134
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    31
mandatoryPreRequisites
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    32
    "list all required mandatory packages.
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    33
     Packages are mandatory, if they contain superclasses of the package's classes
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    34
     or classes which are extended by this package.
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
     This list can be maintained manually or (better) generated and
134
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    36
     updated by scanning the superclass hierarchies
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    37
     (the browser has a menu function for that)"
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
    ^ #(
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    40
        #'stx:goodies/sunit'    "TestAsserter - superclass of PPAbstractParseTest "
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    41
        #'stx:libbasic'    "ArrayedCollection - extended "
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    42
        #'stx:libbasic2'    "Text - extended "
134
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    43
    )
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    44
!
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    45
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    46
referencedPreRequisites
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    47
    "list all packages containing classes referenced by the packages's members.
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    48
     This list can be maintained manually or (better) generated and
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    49
     updated by looking for global variable accesses
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    50
     (the browser has a menu function for that)
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    51
     However, often too much is found, and you may want to explicitely
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    52
     exclude individual packages in the #excludedFromPreRequisites method."
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    53
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
    54
    ^ #(
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    )
90
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    56
!
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    57
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    58
stcOptimizationOptions
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    59
    "do not inline the not operation here - it is overwritten"
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    60
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    61
    ^ '+optspace3 -inlinenot'
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    62
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    63
    "Created: / 23-08-2006 / 01:27:22 / cg"
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    64
!
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    65
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    66
subProjects
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    67
    "list packages which are known as subprojects.
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    68
     The generated makefile will enter those and make there as well.
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    69
     However: they are not forced to be loaded when a package is loaded;
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    70
     for those, redefine requiredPrerequisites"
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    71
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    72
    ^ #(
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    73
        #'stx:goodies/petitparser/analyzer'
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    74
        #'stx:goodies/petitparser/tests'
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    75
    )
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
!stx_goodies_petitparser class methodsFor:'description - actions'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
postLoadAction
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
147
87d7095d0ece Do not autoload tests in postLoadAction
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 134
diff changeset
    82
    "/self classes do: [:cls|cls isLoaded ifFalse:[cls autoload]]
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
    "Created: / 17-12-2010 / 19:55:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
!stx_goodies_petitparser class methodsFor:'description - contents'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
classNamesAndAttributes
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
    "lists the classes which are to be included in the project.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
     Each entry in the list may be: a single class-name (symbol),
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
     or an array-literal consisting of class name and attributes.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    93
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    94
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
    ^ #(
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    96
        "<className> or (<className> attributes...) in load order"
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    97
        (PPAbstractParseTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    98
        (PPArithmeticParserTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    99
        PPCharSetPredicate
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   100
        (PPComposedTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   101
        (PPExtensionTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   102
        PPFailure
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   103
        (PPLambdaParserTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   104
        PPMemento
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   105
        (PPObjectTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   106
        PPParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   107
        (PPParserResource autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   108
        (PPParserTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   109
        (PPPredicateTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   110
        (PPScriptingTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   111
        PPStream
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   112
        PPToken
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   113
        (PPTokenTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   114
        #'stx_goodies_petitparser'
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   115
        PPDelegateParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   116
        PPEpsilonParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   117
        (PPExpressionParserTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   118
        PPFailingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   119
        PPListParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   120
        PPLiteralParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   121
        (PPMappingTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   122
        PPPluggableParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   123
        PPPredicateParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   124
        PPUnresolvedParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   125
        PPActionParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   126
        PPAndParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   127
        PPChoiceParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   128
        PPCompositeParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   129
        PPEndOfInputParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   130
        PPExpressionParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   131
        PPFlattenParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   132
        PPLiteralObjectParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   133
        PPLiteralSequenceParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   134
        PPMemoizedParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   135
        PPNotParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   136
        PPOptionalParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   137
        PPPredicateObjectParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   138
        PPPredicateSequenceParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   139
        PPRepeatingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   140
        PPSequenceParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   141
        PPTrimmingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   142
        PPArithmeticParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   143
        PPLambdaParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   144
        PPLimitedRepeatingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   145
        PPPossessiveRepeatingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   146
        PPTokenParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   147
        PPWrappingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   148
        PPGreedyRepeatingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   149
        PPLazyRepeatingParser
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   150
    )
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
extensionMethodNames
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
    "lists the extension methods which are to be included in the project.
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   155
     Entries are 2-element array literals, consisting of class-name and selector."
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   156
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
    ^ #(
233
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   158
        Block asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   159
        BlockContext asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   160
        Character asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   161
        Character ppMinus:
315
Claus Gittinger <cg@exept.de>
parents: 244
diff changeset
   162
        Collection asChoiceParser
Claus Gittinger <cg@exept.de>
parents: 244
diff changeset
   163
        Collection asSequenceParser
Claus Gittinger <cg@exept.de>
parents: 244
diff changeset
   164
        Interval asParser
233
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   165
        Object asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   166
        Object isPetitFailure
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   167
        Object isPetitParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   168
        PositionableStream asPetitStream
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   169
        SequenceableCollection asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   170
        SequenceableCollection asPetitStream
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   171
        Set asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   172
        Stream asPetitStream
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   173
        String asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   174
        Symbol asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   175
        Symbol value:
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   176
        Text asPetitStream
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   177
        UndefinedObject asParser
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   178
    )
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   181
!stx_goodies_petitparser class methodsFor:'description - monticello'!
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   182
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   183
monticelloTimestamps
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   184
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   185
    ^#(
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   186
    )
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   187
! !
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   188
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
!stx_goodies_petitparser class methodsFor:'description - project information'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
applicationIconFileName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   192
    "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   194
    ^ nil
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
    "/ ^ self applicationName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   198
companyName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   199
    "Return a companyname which will appear in <lib>.rc"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   200
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
    ^ 'Lukas Renggli & SWING Research Group'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
    "Modified: / 17-12-2010 / 19:43:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
description
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
    "Return a description string which will appear in vc.def / bc.def"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   208
148
b44426fa6b0f class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents: 147
diff changeset
   209
    ^ 'Smalltalk/X Scannerless Parser & Parser Combinator Library'
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
    "Modified: / 17-12-2010 / 19:43:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
legalCopyright
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
    "Return a copyright string which will appear in <lib>.rc"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   216
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
    ^ '(C) Lukas Renggli'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
    "Modified: / 17-12-2010 / 19:43:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   220
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   221
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   222
productInstallDirBaseName
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   223
    "Returns a default installDir which will appear in <app>.nsi.
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   224
     This is usually not the one you want to keep"
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   225
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   226
    ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   227
!
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   228
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   229
productName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
    "Return a product name which will appear in <lib>.rc"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   231
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   232
    ^ 'Petit Parser'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
    "Modified: / 17-12-2010 / 19:43:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   235
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
!stx_goodies_petitparser class methodsFor:'description - svn'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   239
svnRepositoryUrlString
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   240
    "Return a SVN repository URL of myself.
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   241
     (Generated since 2011-04-08)
90
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
   242
    "
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   243
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   244
    ^ '$URL: https://vranyj1@swing.fit.cvut.cz/svn/squeak/petitparser/trunk/squeak_petitparser.st $'
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   245
!
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   246
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
svnRevisionNr
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
    "Return a SVN revision number of myself.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
     This number is updated after a commit"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   251
    ^ "$SVN-Revision:"'11              '"$"
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
!stx_goodies_petitparser class methodsFor:'documentation'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
version
315
Claus Gittinger <cg@exept.de>
parents: 244
diff changeset
   257
    ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.15 2014-03-04 20:30:48 cg Exp $'
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   259
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   260
version_CVS
315
Claus Gittinger <cg@exept.de>
parents: 244
diff changeset
   261
    ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.15 2014-03-04 20:30:48 cg Exp $'
211
c156f64d8eb9 class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents: 151
diff changeset
   262
!
c156f64d8eb9 class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents: 151
diff changeset
   263
c156f64d8eb9 class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents: 151
diff changeset
   264
version_MC
212
4717e419eabc class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents: 211
diff changeset
   265
    ^ '$PetitParser-lr.231 a18ceb3c-e6d2-4b74-91c9-33f05d2e0514 2013-03-16T21:51:30 lr$'
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   266
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   267
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
version_SVN
315
Claus Gittinger <cg@exept.de>
parents: 244
diff changeset
   269
    ^ '$Id: stx_goodies_petitparser.st,v 1.15 2014-03-04 20:30:48 cg Exp $'
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   270
! !
134
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
   271