xquery/XQuery__AstAxisStep.st
author Patrik Svestka <patrik.svestka@gmail.com>
Wed, 14 Nov 2018 13:13:37 +0100
changeset 306 fb9d45df523b
parent 296 ea3dbc023c80
permissions -rw-r--r--
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/xquery' }"

"{ NameSpace: XQuery }"

AstNode subclass:#AstAxisStep
	instanceVariableNames:'forwardStep reverseStep predicateList'
	classVariableNames:''
	poolDictionaries:''
	category:'XQuery-AST'
!


!AstAxisStep methodsFor:'accessing'!

forwardStep
    ^ forwardStep

    "Created: / 18-03-2006 / 11:40:05 / ked"
!

forwardStep:something
    forwardStep := something.

    "Created: / 18-03-2006 / 11:40:05 / ked"
!

predicateList
    ^ predicateList

    "Created: / 18-03-2006 / 11:40:05 / ked"
!

predicateList:something
    predicateList := something.

    "Created: / 18-03-2006 / 11:40:05 / ked"
!

reverseStep
    ^ reverseStep

    "Created: / 18-03-2006 / 11:40:05 / ked"
!

reverseStep:something
    reverseStep := something.

    "Created: / 18-03-2006 / 11:40:05 / ked"
! !

!AstAxisStep methodsFor:'testing'!

isAstAxisStep
    ^ true

    "Modified: / 12-10-2006 / 21:57:48 / ked"
! !

!AstAxisStep 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 visitAstAxisStep:self

    "Created: / 06-07-2006 / 19:12:08 / ked"
! !

!AstAxisStep class methodsFor:'documentation'!

version_SVN
    ^ '$Id$'
! !