org.moremotion.clang
Class CustomLanguage

java.lang.Object
  extended by org.moremotion.clang.CustomLanguage

public abstract class CustomLanguage
extends java.lang.Object

Base class for developing custom languages. The classes that extends this base class should implement getSyntax() and excuteFunction() methods.

Version:
$Id: CustomLanguage.java 63 2008-03-14 16:29:03Z erkan $

Constructor Summary
CustomLanguage(MoreMotionRequest request, Logger parent)
           
 
Method Summary
 int _execute(java.lang.String s)
           
 int execute(java.lang.String s)
           
abstract  int executeFunction(int funcid, java.lang.Object[] args)
           
abstract  LanguageSyntax getSyntax()
           
static boolean isConstant(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomLanguage

public CustomLanguage(MoreMotionRequest request,
                      Logger parent)
Method Detail

getSyntax

public abstract LanguageSyntax getSyntax()

executeFunction

public abstract int executeFunction(int funcid,
                                    java.lang.Object[] args)
                             throws CLException
Throws:
CLException

execute

public int execute(java.lang.String s)
            throws CLException
Throws:
CLException

_execute

public int _execute(java.lang.String s)
             throws CLException,
                    RemoveInstructionException
Throws:
CLException
RemoveInstructionException

isConstant

public static boolean isConstant(java.lang.String s)


Copyright © 2002-2008 MOR YAZILIM. All Rights Reserved.