xquery/XQuery__AstVarRef.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 }"

AstNode subclass:#AstVarRef
	instanceVariableNames:'varName'
	classVariableNames:''
	poolDictionaries:''
	category:'XQuery-AST'
!


!AstVarRef methodsFor:'accessing'!

varName
    ^ varName

    "Created: / 18-03-2006 / 21:21:15 / ked"
!

varName:something
    varName := something.

    "Created: / 18-03-2006 / 21:21:15 / ked"
! !

!AstVarRef methodsFor:'testing'!

isAstVarRef
    ^ true

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

!AstVarRef 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 visitAstVarRef:self

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

!AstVarRef class methodsFor:'documentation'!

version_SVN
    ^ '$Id$'
! !