org.moremotion.clang
Class CustomLanguage
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomLanguage
public CustomLanguage(MoreMotionRequest request,
Logger parent)
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.