Difference between revisions of "Preprocessor (extension point)"

From BioUML platform
Jump to: navigation, search
(From Help&Manual)

Revision as of 10:49, 14 May 2013

Identifier
ru.biosoft.plugins.javascript.preprocessor
Plugin
ru.biosoft.plugins.javascript
Since
0.8.7
Registry
PreprocessorRegistry

Description

JavaScript preprocessor is used to simplify JavaScript code by using additional blocks and constructions. For example, R preprocessor allows to use R commands in script document directly and it's wraps to JavaScript instructions automatically.

Configuration Markup

<!ELEMENT preprocessor>
<!ATTLIST preprocessor
   name         CDATA #REQUIRED
   class        CDATA #REQUIRED
>
name
the name of preprocessor.
class
the fully-qualified name of preprocessor class (must implement Preprocessor).

Example

The following is an example of R preprocessor definition:

<extension id="R preprocessor" point="ru.biosoft.plugins.javascript.preprocessor"> 
  <preprocessor 
     name="R script" 
     class="ru.biosoft.plugins.jri.RPreprocessor"
  />
</extension>
Personal tools
Namespaces

Variants
Actions
BioUML platform
Community
Modelling
Analysis & Workflows
Collaborative research
Development
Virtual biology
Wiki
Toolbox