stx_goodies_petitparser.st
author Claus Gittinger <cg@exept.de>
Tue, 04 Mar 2014 21:27:43 +0100
changeset 284 c1b9188776ff
parent 244 c9c5df552e30
child 315 9142aa159c02
permissions -rw-r--r--
moved
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
    ^ #(
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    55
        #'stx:goodies/petitparser/analyzer'    "PPListPattern - referenced by PPParser>>matchList:index:against:index:inContext:seen: "
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
    )
90
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    57
!
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    58
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    59
stcOptimizationOptions
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    60
    "do not inline the not operation here - it is overwritten"
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    61
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    62
    ^ '+optspace3 -inlinenot'
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    63
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
    64
    "Created: / 23-08-2006 / 01:27:22 / cg"
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    65
!
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    66
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    67
subProjects
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    68
    "list packages which are known as subprojects.
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    69
     The generated makefile will enter those and make there as well.
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    70
     However: they are not forced to be loaded when a package is loaded;
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    71
     for those, redefine requiredPrerequisites"
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    72
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    73
    ^ #(
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    74
        #'stx:goodies/petitparser/analyzer'
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    75
        #'stx:goodies/petitparser/tests'
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    76
    )
5
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
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
!stx_goodies_petitparser class methodsFor:'description - actions'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
postLoadAction
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
147
87d7095d0ece Do not autoload tests in postLoadAction
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 134
diff changeset
    83
    "/self classes do: [:cls|cls isLoaded ifFalse:[cls autoload]]
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
    "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
    86
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
!stx_goodies_petitparser class methodsFor:'description - contents'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
classNamesAndAttributes
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
    "lists the classes which are to be included in the project.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
     Each entry in the list may be: a single class-name (symbol),
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    93
     or an array-literal consisting of class name and attributes.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    94
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
    ^ #(
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    97
        "<className> or (<className> attributes...) in load order"
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    98
        (PPAbstractParseTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
    99
        (PPArithmeticParserTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   100
        PPCharSetPredicate
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   101
        (PPComposedTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   102
        (PPExtensionTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   103
        PPFailure
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   104
        (PPLambdaParserTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   105
        PPMemento
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   106
        (PPObjectTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   107
        PPParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   108
        (PPParserResource autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   109
        (PPParserTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   110
        (PPPredicateTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   111
        (PPScriptingTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   112
        PPStream
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   113
        PPToken
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   114
        (PPTokenTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   115
        #'stx_goodies_petitparser'
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   116
        PPDelegateParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   117
        PPEpsilonParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   118
        (PPExpressionParserTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   119
        PPFailingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   120
        PPListParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   121
        PPLiteralParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   122
        (PPMappingTest autoload)
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   123
        PPPluggableParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   124
        PPPredicateParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   125
        PPUnresolvedParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   126
        PPActionParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   127
        PPAndParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   128
        PPChoiceParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   129
        PPCompositeParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   130
        PPEndOfInputParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   131
        PPExpressionParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   132
        PPFlattenParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   133
        PPLiteralObjectParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   134
        PPLiteralSequenceParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   135
        PPMemoizedParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   136
        PPNotParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   137
        PPOptionalParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   138
        PPPredicateObjectParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   139
        PPPredicateSequenceParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   140
        PPRepeatingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   141
        PPSequenceParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   142
        PPTrimmingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   143
        PPArithmeticParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   144
        PPLambdaParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   145
        PPLimitedRepeatingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   146
        PPPossessiveRepeatingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   147
        PPTokenParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   148
        PPWrappingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   149
        PPGreedyRepeatingParser
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   150
        PPLazyRepeatingParser
5
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
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
extensionMethodNames
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
    "lists the extension methods which are to be included in the project.
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   156
     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
   157
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   158
    ^ #(
233
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   159
        Block asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   160
        BlockContext asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   161
        Character asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   162
        Character ppMinus:
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   163
        Object asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   164
        Object isPetitFailure
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   165
        Object isPetitParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   166
        PositionableStream asPetitStream
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   167
        SequenceableCollection asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   168
        SequenceableCollection asPetitStream
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   169
        Interval asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   170
        Set asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   171
        Stream asPetitStream
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   172
        String asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   173
        Symbol asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   174
        Symbol value:
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   175
        Text asPetitStream
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   176
        UndefinedObject asParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   177
        Collection asChoiceParser
896c872b5da9 initial
Claus Gittinger <cg@exept.de>
parents: 212
diff changeset
   178
        Collection asSequenceParser
5
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
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   182
!stx_goodies_petitparser class methodsFor:'description - monticello'!
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   183
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   184
monticelloTimestamps
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
! !
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   189
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
!stx_goodies_petitparser class methodsFor:'description - project information'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   192
applicationIconFileName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
    "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
   194
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
    ^ nil
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
    "/ ^ self applicationName
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
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   199
companyName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   200
    "Return a companyname which will appear in <lib>.rc"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
    ^ 'Lukas Renggli & SWING Research Group'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
    "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
   205
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
description
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   208
    "Return a description string which will appear in vc.def / bc.def"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
148
b44426fa6b0f class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents: 147
diff changeset
   210
    ^ 'Smalltalk/X Scannerless Parser & Parser Combinator Library'
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
    "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
   213
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
legalCopyright
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   216
    "Return a copyright string which will appear in <lib>.rc"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
    ^ '(C) Lukas Renggli'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   220
    "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
   221
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   223
productInstallDirBaseName
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   224
    "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
   225
     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
   226
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   227
    ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   228
!
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   229
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
productName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   231
    "Return a product name which will appear in <lib>.rc"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   232
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
    ^ 'Petit Parser'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   235
    "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
   236
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
!stx_goodies_petitparser class methodsFor:'description - svn'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   239
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   240
svnRepositoryUrlString
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   241
    "Return a SVN repository URL of myself.
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   242
     (Generated since 2011-04-08)
90
ac3a0d07b1e4 -inlinenot
Claus Gittinger <cg@exept.de>
parents: 67
diff changeset
   243
    "
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   244
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   245
    ^ '$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
   246
!
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   247
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
svnRevisionNr
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
    "Return a SVN revision number of myself.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
     This number is updated after a commit"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   252
    ^ "$SVN-Revision:"'11              '"$"
5
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
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
!stx_goodies_petitparser class methodsFor:'documentation'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
version
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   258
    ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.14 2014-03-04 16:00:18 cg Exp $'
5
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
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   261
version_CVS
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   262
    ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.14 2014-03-04 16:00:18 cg Exp $'
211
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
c156f64d8eb9 class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents: 151
diff changeset
   265
version_MC
212
4717e419eabc class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de>
parents: 211
diff changeset
   266
    ^ '$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
   267
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   269
version_SVN
244
c9c5df552e30 initial
Claus Gittinger <cg@exept.de>
parents: 233
diff changeset
   270
    ^ '$Id: stx_goodies_petitparser.st,v 1.14 2014-03-04 16:00:18 cg Exp $'
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   271
! !
134
03907685ddff Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 90
diff changeset
   272