xoql.parser

Class XoqlWalker

public class XoqlWalker extends TreeParser implements XoqlWalkerTokenTypes

XoqlWalker class extends antlr.TreeParser

Author: simonkm

Field Summary
VBindingsbindings
ArrayListpreviousVarBinding
DR*********
IRepositoryrepository
static String[]_tokenNames
static BitSet_tokenSet_0
Constructor Summary
XoqlWalker()
Method Summary
IteratorallExpr(AST _t)
IteratorattrExpr(AST _t)
voidattribute(AST _t, ArrayList v)
IteratorattributeExpr(AST _t)
IteratorattributesExpr(AST _t)
IteratorattributesNSExpr(AST _t)
IteratorbinaryExpr(AST _t)
IteratorchildNodesExpr(AST _t)
voidcommaSeparatedExpr(AST _t, ArrayList v)
IteratorconstExpr(AST _t)
voidcontentsExpr(AST _t, ArrayList v)
IteratorcreateElementExpr(AST _t)
Iteratordelete(AST _t)
IteratordescNodesExpr(AST _t)
IntegerdrExpr(AST _t)
IteratorelementExpr(AST _t)
IteratorexistExpr(AST _t)
Iteratorexpr(AST _t)
voidfNameArgs(AST _t, ArrayList v)
IteratorfunctionCallExpr(AST _t)
IteratoridExpr(AST _t)
Iteratorinsert(AST _t)
IteratorinsertExpr(AST _t)
IteratorlistExpr(AST _t)
Iteratorlocation(AST _t)
BooleanmarkExpr(AST _t)
voidmBinding(AST _t, ArrayList bindingList)
IteratormethodCall(AST _t, Iterator arg)
voidoperation(AST _t, ArrayList v, ArrayList o, Hashtable loc)
voidoperations(AST _t, ArrayList v, ArrayList o, Hashtable loc)
BinaryPredicatepathConstraint(AST _t)
BinaryPredicatepathConstraintExpr(AST _t)
voidpositionExpr(AST _t)
IteratorregexMatchExpr(AST _t)
IteratorrfwExpr(AST _t)
IteratorrfwwExpr(AST _t)
IteratorselectExpr(AST _t)
voidsetRepository(IRepository repository)
IteratorsfwExpr(AST _t)
IteratorstringExpr(AST _t)
IteratortextExpr(AST _t)
IteratorunaryExpr(AST _t)
Iteratorupdate(AST _t)
IteratorupdExpr(AST _t)
D&R ************************************
voidvBinding(AST _t, ArrayList bindingList)
IteratorvBindings(AST _t)
ArrayListwithBindings(AST _t)

Field Detail

bindings

VBindings bindings

previousVarBinding

ArrayList previousVarBinding
DR*********

repository

IRepository repository

_tokenNames

public static final String[] _tokenNames

_tokenSet_0

public static final BitSet _tokenSet_0

Constructor Detail

XoqlWalker

public XoqlWalker()

Method Detail

allExpr

public final Iterator allExpr(AST _t)

attrExpr

public final Iterator attrExpr(AST _t)

attribute

public final void attribute(AST _t, ArrayList v)

attributeExpr

public final Iterator attributeExpr(AST _t)

attributesExpr

public final Iterator attributesExpr(AST _t)

attributesNSExpr

public final Iterator attributesNSExpr(AST _t)

binaryExpr

public final Iterator binaryExpr(AST _t)

Parameters: _t

Returns:

Throws: RecognitionException

childNodesExpr

public final Iterator childNodesExpr(AST _t)

commaSeparatedExpr

public final void commaSeparatedExpr(AST _t, ArrayList v)

constExpr

public final Iterator constExpr(AST _t)

contentsExpr

public final void contentsExpr(AST _t, ArrayList v)

createElementExpr

public final Iterator createElementExpr(AST _t)

delete

public final Iterator delete(AST _t)

descNodesExpr

public final Iterator descNodesExpr(AST _t)

drExpr

public final Integer drExpr(AST _t)

elementExpr

public final Iterator elementExpr(AST _t)

existExpr

public final Iterator existExpr(AST _t)

expr

public final Iterator expr(AST _t)

Parameters: _t

Returns:

Throws: RecognitionException

fNameArgs

public final void fNameArgs(AST _t, ArrayList v)

functionCallExpr

public final Iterator functionCallExpr(AST _t)

Parameters: _t

Returns:

Throws: RecognitionException

idExpr

public final Iterator idExpr(AST _t)

insert

public final Iterator insert(AST _t)

insertExpr

public final Iterator insertExpr(AST _t)

listExpr

public final Iterator listExpr(AST _t)

Parameters: _t

Returns:

Throws: RecognitionException

location

public final Iterator location(AST _t)

markExpr

public final Boolean markExpr(AST _t)

mBinding

public final void mBinding(AST _t, ArrayList bindingList)

methodCall

public final Iterator methodCall(AST _t, Iterator arg)

operation

public final void operation(AST _t, ArrayList v, ArrayList o, Hashtable loc)

operations

public final void operations(AST _t, ArrayList v, ArrayList o, Hashtable loc)

pathConstraint

public final BinaryPredicate pathConstraint(AST _t)

pathConstraintExpr

public final BinaryPredicate pathConstraintExpr(AST _t)

positionExpr

public final void positionExpr(AST _t)

regexMatchExpr

public final Iterator regexMatchExpr(AST _t)

rfwExpr

public final Iterator rfwExpr(AST _t)

rfwwExpr

public final Iterator rfwwExpr(AST _t)

selectExpr

public final Iterator selectExpr(AST _t)

setRepository

public void setRepository(IRepository repository)

sfwExpr

public final Iterator sfwExpr(AST _t)

Parameters: _t

Returns:

Throws: RecognitionException

stringExpr

public final Iterator stringExpr(AST _t)

textExpr

public final Iterator textExpr(AST _t)

unaryExpr

public final Iterator unaryExpr(AST _t)

Parameters: _t

Returns:

Throws: RecognitionException

update

public final Iterator update(AST _t)

updExpr

public final Iterator updExpr(AST _t)
D&R ************************************

vBinding

public final void vBinding(AST _t, ArrayList bindingList)

vBindings

public final Iterator vBindings(AST _t)

withBindings

public final ArrayList withBindings(AST _t)