# Uses of Interface
jdk.nashorn.api.tree.CaseTree

Packages that use CaseTree
Package | Description
--- | ---
jdk.nashorn.api.tree | Nashorn parser API provides interfaces to represent ECMAScript source code as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.

## Uses of CaseTree in jdk.nashorn.api.tree

Methods in jdk.nashorn.api.tree that return types with arguments of type CaseTree
Modifier and Type | Method | Description
--- | --- | ---
`List<? extends CaseTree>` | SwitchTree.`getCases()` | Deprecated, for removal: This API element is subject to removal in a future version. Returns the list of 'case' statements.

Methods in jdk.nashorn.api.tree with parameters of type CaseTree
Modifier and Type | Method | Description
--- | --- | ---
`R` | TreeVisitor.`visitCase​(CaseTree node, P p)` | Deprecated, for removal: This API element is subject to removal in a future version. Visit case statement tree.