FuncDeclaration.getLevel

Determine lexical level difference from this to nested function fd.

class FuncDeclaration
final
int
getLevel

Parameters

fd FuncDeclaration

target of call

intypeof int

!=0 if inside typeof

Return Value

Type: int

0 same level >0 decrease nesting by number -1 increase nesting by 1 (fd is nested within this) LevelError error, this cannot call fd

Meta