org.ogre4j
Interface ICompiler2Pass
- All Superinterfaces:
- IAllocatedObject<IScriptingAllocPolicy>, INativeObject, IScriptingAllocatedObject
- All Known Subinterfaces:
- ICompositorScriptCompiler
- All Known Implementing Classes:
- Compiler2Pass, CompositorScriptCompiler
public interface ICompiler2Pass
- extends INativeObject, IScriptingAllocatedObject
|
Method Summary |
boolean |
compile(java.lang.String source,
java.lang.String sourceName)
compile the source - performs 2 passes. |
java.lang.String |
getClientBNFGrammer()
gets BNF Grammar. |
java.lang.String |
getClientGrammerName()
get the name of the BNF grammar. |
compile
boolean compile(java.lang.String source,
java.lang.String sourceName)
- compile the source - performs 2 passes. First pass is to tokenize, check semantics and context. The second pass is performed by using tokens to look up function implementors and executing them which convert tokens to application specific instructions.
getClientBNFGrammer
java.lang.String getClientBNFGrammer()
- gets BNF Grammar. Gets called when BNF grammar has to be compiled for the first time.
getClientGrammerName
java.lang.String getClientGrammerName()
- get the name of the BNF grammar.
Copyright © 2007 netAllied GmbH. All Rights Reserved.