public class KeywordAlignMediator extends AbstractMediator
Modifier and Type | Class and Description |
---|---|
static class |
KeywordAlignMediator.IndentLevelItem |
Constructor and Description |
---|
KeywordAlignMediator() |
Modifier and Type | Method and Description |
---|---|
void |
addIndentLevelItem(TSourceToken token,
int curIndentLen)
save the sourceotoken indent information for current indent level
|
void |
decreaseLevel() |
int |
getCurLevelIndentLen()
get the indent length for current level
|
int |
getCurrentIndentLevel() |
int |
getLevelIndentLen(int level) |
void |
increaseLevel() |
public void addIndentLevelItem(TSourceToken token, int curIndentLen)
token
- curIndentLen
- public int getCurLevelIndentLen()
public int getLevelIndentLen(int level)
public int getCurrentIndentLevel()
public void increaseLevel()
public void decreaseLevel()
Copyright © 2023. All rights reserved.