public class NodeSourceCodeColumn extends SourceCodeColumn<Node,Node>
SourceCodeColumn.CodePosition, SourceCodeColumn.PositionExtractor<X>
DEFAULT_SRC_LENGTH_LIMIT
Constructor and Description |
---|
NodeSourceCodeColumn(String positionKeyword,
String pathKeyword,
File workingDir,
String displayKeyword) |
NodeSourceCodeColumn(String positionKeyword,
String pathKeyword,
File workingDir,
String displayKeyword,
int srcLengthLimit) |
NodeSourceCodeColumn(String positionKeyword,
String pathKeyword,
String displayKeyword) |
NodeSourceCodeColumn(String positionKeyword,
String pathKeyword,
String displayKeyword,
int srcLengthLimit) |
Modifier and Type | Method and Description |
---|---|
int |
getTabSize()
This manipulates as how many characters a tab should be counted.
|
boolean |
isEndExclusive()
Sets if the end column of each given codePosition should be in- or excluded in the
visualization.
|
void |
setEndExclusive(boolean endExclusive)
Sets if the end column of each given codePosition should be in- or excluded in the
visualization.
|
void |
setTabSize(int tabSize)
This manipulates as how many characters a tab should be
counted.
|
getCSS, getSourceCode
getHTML, getJS, getKeyword, getNumColumns
public NodeSourceCodeColumn(@NonNull String positionKeyword, @NonNull String pathKeyword, String displayKeyword)
public NodeSourceCodeColumn(@NonNull String positionKeyword, @NonNull String pathKeyword, String displayKeyword, int srcLengthLimit)
public NodeSourceCodeColumn(@NonNull String positionKeyword, @NonNull String pathKeyword, File workingDir, String displayKeyword)
public boolean isEndExclusive()
public void setEndExclusive(boolean endExclusive)
endExclusive
- true if the end column of each given codePosition should
be in- or excluded in the visualization. This is true per default.public int getTabSize()
public void setTabSize(int tabSize)
tabSize
- how many characters a tab should be
counted.Copyright (C) 2016-2018 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/