Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
- All source *.st files are now Unicode UTF8 without BOM
Files are in two groups (fileOut works this way in Smalltalk/X):
- containing a unicode character have "{ Encoding: utf8 }" at the header
- ASCII only are without the header
"{ Package: 'stx:goodies/xmlsuite/relaxng' }"
"{ NameSpace: RNG }"
ContentModelNode subclass:#OneOrMoreNode
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'Relax NG-Content model'
!
!OneOrMoreNode methodsFor:'automaton support'!
generateTransitionsIn:aContentModelAutomaton
super generateTransitionsIn:aContentModelAutomaton.
aContentModelAutomaton
makeTransitionsFrom:self lastChild patternsThatCanBeLast
to:self patternsThatCanBeFirst.
self children do:[:child|
aContentModelAutomaton
makeTransitionsFrom:child patternsThatCanBeLast
to:child patternsThatCanBeNext
]
"Created: / 30-04-2005 / 21:16:56 / janfrog"
"Modified: / 02-05-2005 / 11:53:28 / janfrog"
!
patternsThatCanBeFirst
"Superclass says that I am responsible to implement this method"
^self firstChild patternsThatCanBeFirst
"Created: / 30-04-2005 / 21:04:04 / janfrog"
!
patternsThatCanBeLast
"Superclass says that I am responsible to implement this method"
^self lastChild patternsThatCanBeLast
"Created: / 30-04-2005 / 21:04:04 / janfrog"
! !
!OneOrMoreNode methodsFor:'printing'!
groupModifierCharacter
"Superclass says that I am responsible to implement this method"
^$+
"Created: / 30-04-2005 / 18:59:12 / janfrog"
! !
!OneOrMoreNode methodsFor:'testing'!
isOneOrMoreNode
^ true
"Created: / 14-05-2005 / 20:47:45 / janfrog"
!
isRepeatingNode
^true
"Created: / 14-05-2005 / 21:30:21 / janfrog"
! !
!OneOrMoreNode methodsFor:'visiting'!
acceptVisitor:aVisitor
"Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)"
"stub code automatically generated - please change if required"
^ aVisitor visitOneOrMoreNode:self
"Created: / 02-05-2005 / 16:38:45 / janfrog"
! !
!OneOrMoreNode class methodsFor:'documentation'!
version
^ '$Header: /opt/data/cvs/stx/goodies/xmlsuite/relaxng/RNG__OneOrMoreNode.st,v 1.1.1.1 2005-11-01 22:07:13 vranyj1 Exp $'
! !