public static class TreeNavigation.FirstAncestorOfType extends TreeNavigation.Query
| Constructor and Description |
|---|
FirstAncestorOfType(Class<? extends org.pegdown.ast.Node> ancestorType) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<TreeNavigation> |
query(TreeNavigation nav) |
thenpublic FirstAncestorOfType(Class<? extends org.pegdown.ast.Node> ancestorType)
public com.google.common.base.Optional<TreeNavigation> query(TreeNavigation nav)
query in class TreeNavigation.QueryCopyright © 2014. All Rights Reserved.