stx_goodies_petitparser.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sat, 05 May 2012 16:48:45 +0200
branchinitialV
changeset 69 b86ca1582c6e
parent 67 4f259987eab6
child 90 ac3a0d07b1e4
permissions -rw-r--r--
checkin from stx browser
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
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    10
!stx_goodies_petitparser class methodsFor:'documentation'!
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    11
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    12
extensionsVersion_SVN
67
4f259987eab6 automatic checkIn
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 47
diff changeset
    13
    ^ '$Id: stx_goodies_petitparser.st,v 1.4 2012-05-04 22:19:27 vrany Exp $'
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    14
! !
5
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
!stx_goodies_petitparser class methodsFor:'accessing'!
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
monticelloPackageName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
    "hook for packages which have been loaded from monticello"
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
    ^ 'PetitParser'
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
    "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
    24
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
!stx_goodies_petitparser class methodsFor:'description'!
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
excludedFromPreRequisites
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
    "list all packages which should be ignored in the automatic
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
     preRequisites scan. See #preRequisites for more."
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
    ^ #(
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
    )
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
preRequisites
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
    "list all required packages.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
     This list can be maintained manually or (better) generated and
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
     updated by scanning the superclass hierarchies and looking for
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
     global variable accesses. (the browser has a menu function for that)
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
     Howevery, often too much is found, and you may want to explicitely
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
     exclude individual packages in the #excludedFromPrerequisites method."
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
    ^ #(
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    45
        #'stx:goodies/sunit'    "TestCase - superclass of PPTokenTest "
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    46
        #'stx:libbasic'    "Object - superclass of PPFailure "
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    47
        #'stx:libbasic2'    "Text"
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    )
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
!stx_goodies_petitparser class methodsFor:'description - actions'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
postLoadAction
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    self classes do: [:cls|cls isLoaded ifFalse:[cls autoload]]
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    "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
    58
! !
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
!stx_goodies_petitparser class methodsFor:'description - contents'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
classNamesAndAttributes
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
    "lists the classes which are to be included in the project.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
     Each entry in the list may be: a single class-name (symbol),
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
     or an array-literal consisting of class name and attributes.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
    ^ #(
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    69
        "<className> or (<className> attributes...) in load order"
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    70
        (PPAbstractParseTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    71
        PPCharSetPredicate
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    72
        PPFailure
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    73
        PPMemento
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    74
        PPParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    75
        (PPParserResource autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    76
        PPStream
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    77
        PPToken
67
4f259987eab6 automatic checkIn
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 47
diff changeset
    78
        #'stx_goodies_petitparser'
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    79
        (PPComposedTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    80
        (PPCompositeParserTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    81
        PPDelegateParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    82
        PPEpsilonParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    83
        (PPExtensionTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    84
        PPFailingParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    85
        PPListParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    86
        PPLiteralParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    87
        (PPMappingTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    88
        (PPObjectTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    89
        (PPParserTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    90
        PPPluggableParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    91
        PPPredicateParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    92
        (PPPredicateTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    93
        (PPScriptingTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    94
        (PPTokenTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    95
        PPUnresolvedParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    96
        PPActionParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    97
        PPAndParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    98
        (PPArithmeticParserTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    99
        PPChoiceParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   100
        PPCompositeParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   101
        PPEndOfInputParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   102
        PPExpressionParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   103
        PPFlattenParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   104
        (PPLambdaParserTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   105
        PPLiteralObjectParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   106
        PPLiteralSequenceParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   107
        PPMemoizedParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   108
        PPNotParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   109
        PPOptionalParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   110
        PPPredicateObjectParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   111
        PPPredicateSequenceParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   112
        PPRepeatingParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   113
        PPSequenceParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   114
        PPTrimmingParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   115
        PPArithmeticParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   116
        (PPExpressionParserTest autoload)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   117
        PPLambdaParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   118
        PPTokenParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   119
        PPWrappingParser
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   120
    )
67
4f259987eab6 automatic checkIn
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 47
diff changeset
   121
4f259987eab6 automatic checkIn
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 47
diff changeset
   122
    "Modified: / 04-05-2012 / 23:17:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   124
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   125
extensionMethodNames
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
    "lists the extension methods which are to be included in the project.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   127
     Entries are 2-element array literals, consisting of class-name and selector."
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   128
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   129
    ^ #(
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   130
        Block asParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   131
        BlockContext asParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   132
        Character #'-'
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   133
        Character asParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   134
        Character ppMinus:
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   135
        Object asParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   136
        Object isPetitFailure
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   137
        Object isPetitParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   138
        PositionableStream asPetitStream
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   139
        SequenceableCollection asParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   140
        SequenceableCollection asPetitStream
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   141
        Set asParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   142
        Stream asPetitStream
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   143
        String asParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   144
        Symbol asParser
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   145
        Symbol value:
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   146
        Text asPetitStream
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   147
        UndefinedObject asParser
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   148
    )
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   149
! !
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
!stx_goodies_petitparser class methodsFor:'description - project information'!
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
applicationIconFileName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
    "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
   155
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   156
    ^ nil
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
    "/ ^ self applicationName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   158
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   159
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   160
companyName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   161
    "Return a companyname which will appear in <lib>.rc"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   162
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   163
    ^ 'Lukas Renggli & SWING Research Group'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   164
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
    "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
   166
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   168
description
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   169
    "Return a description string which will appear in vc.def / bc.def"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
    ^ 'Scanner-less parser & parser combinator library'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
    "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
   174
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
legalCopyright
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   177
    "Return a copyright string which will appear in <lib>.rc"
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
    ^ '(C) Lukas Renggli'
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
    "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
   182
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   184
productInstallDirBaseName
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   185
    "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
   186
     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
   187
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   188
    ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   189
!
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   190
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
productName
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   192
    "Return a product name which will appear in <lib>.rc"
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
    ^ 'Petit Parser'
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
    "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
   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
!stx_goodies_petitparser class methodsFor:'description - svn'!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   200
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   201
svnRepositoryUrlString
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   202
    "Return a SVN repository URL of myself.
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   203
     (Generated since 2011-04-08)
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   204
    "        
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   205
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   206
    ^ '$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
   207
!
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   208
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
svnRevisionNr
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
    "Return a SVN revision number of myself.
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
     This number is updated after a commit"
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   213
    ^ "$SVN-Revision:"'11              '"$"
5
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
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   216
!stx_goodies_petitparser class methodsFor:'documentation'!
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
version
67
4f259987eab6 automatic checkIn
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 47
diff changeset
   219
    ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.4 2012-05-04 22:19:27 vrany Exp $'
5
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
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
version_CVS
67
4f259987eab6 automatic checkIn
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 47
diff changeset
   223
    ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.4 2012-05-04 22:19:27 vrany Exp $'
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
!
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   226
version_SVN
8
9bb6c46efe0f Checkin from browser
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
   227
    ^ '§Id: squeak_petitparser.st 7 2012-03-12 19:06:12Z vranyj1 §'
5
804a351a9415 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
! !