com.github.abrarsyed.jastyle
Class ASEnhancer

java.lang.Object
  extended by com.github.abrarsyed.jastyle.AbstractASBase
      extended by com.github.abrarsyed.jastyle.ASEnhancer

public class ASEnhancer
extends AbstractASBase


Field Summary
 
Fields inherited from class com.github.abrarsyed.jastyle.AbstractASBase
fileType
 
Constructor Summary
ASEnhancer()
          ASEnhancer constructor
 
Method Summary
 void enhance(java.lang.StringBuilder line)
          additional formatting for line of source code.
 
Methods inherited from class com.github.abrarsyed.jastyle.AbstractASBase
findKeyword, getCurrentWord, init, isCharPotentialHeader, isCharPotentialOperator, isCStyle, isJavaStyle, isLegalNameChar, isSharpStyle, peekNextChar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASEnhancer

public ASEnhancer()
ASEnhancer constructor

Method Detail

enhance

public void enhance(java.lang.StringBuilder line)
additional formatting for line of source code. every line of source code in a source code file should be sent one after the other to this function. indents event tables unindents the case blocks

Parameters:
line - the original formatted line will be updated if necessary.