public class CodeSelectorPresentation extends Object
| Constructor and Description |
|---|
CodeSelectorPresentation(DetailAST ast,
com.google.common.collect.ImmutableList<Integer> lines2position)
Constructor.
|
CodeSelectorPresentation(DetailNode node,
com.google.common.collect.ImmutableList<Integer> lines2position)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
findSelectionPositions()
Find start and end selection positions from AST line and Column.
|
int |
getSelectionEnd()
Returns selection end position.
|
int |
getSelectionStart()
Returns selection start position.
|
public CodeSelectorPresentation(DetailAST ast, com.google.common.collect.ImmutableList<Integer> lines2position)
ast - ast node.lines2position - list to map lines.public CodeSelectorPresentation(DetailNode node, com.google.common.collect.ImmutableList<Integer> lines2position)
node - DetailNode node.lines2position - list to map lines.public int getSelectionStart()
public int getSelectionEnd()
public void findSelectionPositions()
Copyright © 2001–2018. All rights reserved.