public abstract class CodeSnippet
extends java.lang.Object
CodeSnippet
class stands for an interface for Dawn code snippets.
A code snippet is a mini-script written in Dawn which will be used by
DawnParser
to create a function. Code snippets avoid writting
annoying Java source code which can generate errors and be a pain to debug.Constructor and Description |
---|
CodeSnippet() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getCode()
Returns the function code.
|
java.lang.String |
getHelp()
Returns the contexive help associated with this function.
|
abstract java.lang.String |
getName()
Returns the function name.
|
public abstract java.lang.String getName()
String
, containing the namepublic java.lang.String getHelp()
public abstract java.lang.String getCode()
String
, containing the codeCopyright ? 2002 Romain Guy.