org.stjs.generator.plugin
Interface STJSGenerationPlugin<JS>

Type Parameters:
JS - - the way JavaScript nodes are represented. For example Rhino AstNode
All Known Implementing Classes:
MainGenerationPlugin

public interface STJSGenerationPlugin<JS>

See UsePlugin for details on how to list your plugin.

Author:
acraciun

Method Summary
 void contributeCheckVisitor(CheckVisitor visitor)
          add the check contributors
 void contributeWriteVisitor(WriterVisitor<JS> visitor)
          add the writer contributors
 boolean loadByDefault()
           
 

Method Detail

loadByDefault

boolean loadByDefault()
Returns:
true if this plugin is to be executed with any class, or false if the user should activate it via UsePlugin

contributeCheckVisitor

void contributeCheckVisitor(CheckVisitor visitor)
add the check contributors

Parameters:
visitor -

contributeWriteVisitor

void contributeWriteVisitor(WriterVisitor<JS> visitor)
add the writer contributors

Parameters:
visitor -


Copyright © 2014. All Rights Reserved.