xquery/XQuery__XPathAttributeTest.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 02 Jul 2018 08:46:01 +0200
changeset 305 bad21c4f64bf
parent 296 ea3dbc023c80
permissions -rw-r--r--
Tagged Smalltalk/X 8.0.0

"{ Package: 'stx:goodies/xmlsuite/xquery' }"

"{ NameSpace: XQuery }"

XPathKindTest subclass:#XPathAttributeTest
	instanceVariableNames:'attribName'
	classVariableNames:''
	poolDictionaries:''
	category:'XQuery-AST-XPath'
!


!XPathAttributeTest methodsFor:'printing'!

printOn: stream

    stream nextPutAll:'attribute('.
    attribName ifNotNil:[stream nextPutAll: attribName].
    stream nextPut:$)

    "Created: / 15-11-2007 / 22:02:02 / janfrog"
! !

!XPathAttributeTest methodsFor:'testing'!

isXPathAttributeTest
    ^ true

    "Created: / 21-11-2007 / 11:07:13 / janfrog"
! !

!XPathAttributeTest 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 visitXPathAttributeTest:self

    "Created: / 17-11-2007 / 15:31:51 / janfrog"
! !

!XPathAttributeTest class methodsFor:'documentation'!

version_SVN
    ^ '$Id$'
! !