Preprocessor (extension point)

From BioUML platform
Revision as of 10:49, 14 May 2013 by Tagir Valeev (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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 interface).

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