Constructor and Description |
---|
ASTVisitor() |
Modifier and Type | Method and Description |
---|---|
boolean |
declared(Var count)
Notifies the visitor of a variable declaration.
|
boolean |
dynFuncCall(DynFuncCall call)
Notifies the visitor of a dynamic function call.
|
void |
enterFocus()
Notifies the visitor of an expression entering a focus.
|
void |
exitFocus()
Notifies the visitor of an expression leaving a focus.
|
boolean |
funcItem(FuncItem func)
Notifies the visitor of a function item.
|
boolean |
inlineFunc(Scope sub)
Notifies the visitor of a sub-scope.
|
boolean |
lock(String db)
Notifies the visitor of a database lock.
|
boolean |
staticFuncCall(StaticFuncCall call)
Notifies the visitor of a static function call.
|
boolean |
staticVar(StaticVar var)
Notifies the visitor of a reference t oa static variable.
|
boolean |
used(VarRef ref)
Notifies the visitor of a variable reference.
|
public boolean declared(Var count)
count
- declared variablepublic boolean used(VarRef ref)
ref
- used variablepublic boolean staticVar(StaticVar var)
var
- static variablepublic boolean inlineFunc(Scope sub)
sub
- scopepublic boolean staticFuncCall(StaticFuncCall call)
call
- function callpublic boolean dynFuncCall(DynFuncCall call)
call
- function callpublic boolean funcItem(FuncItem func)
func
- the function itempublic boolean lock(String db)
db
- database to be lockedpublic void enterFocus()
public void exitFocus()
Copyright © 2005–2015 BaseX Team. All rights reserved.