org.deft.extension.decoration.style
Class StyleDecorator

java.lang.Object
  extended by org.deft.repository.ast.decoration.AstDecorator
      extended by org.deft.extension.decoration.style.StyleDecorator

public class StyleDecorator
extends org.deft.repository.ast.decoration.AstDecorator

Applies different style and formating information to a TreeNode.

Author:
Martin Heinzerling

Constructor Summary
StyleDecorator()
           
 
Method Summary
 void applyDecoration(org.deft.repository.ast.TreeNode root)
           
 void buildAndAddGroupLists(java.util.List<org.deft.repository.ast.TokenNode> tokens)
           
 org.deft.repository.ast.decoration.Ident getIdent()
           
 
Methods inherited from class org.deft.repository.ast.decoration.AstDecorator
equals, getFirstGroupList, getGroupLists
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleDecorator

public StyleDecorator()
Method Detail

applyDecoration

public void applyDecoration(org.deft.repository.ast.TreeNode root)
Overrides:
applyDecoration in class org.deft.repository.ast.decoration.AstDecorator

buildAndAddGroupLists

public void buildAndAddGroupLists(java.util.List<org.deft.repository.ast.TokenNode> tokens)
Specified by:
buildAndAddGroupLists in class org.deft.repository.ast.decoration.AstDecorator

getIdent

public org.deft.repository.ast.decoration.Ident getIdent()
Specified by:
getIdent in class org.deft.repository.ast.decoration.AstDecorator