jess
Interface ArgumentChecker


public interface ArgumentChecker

A hook in the Jess parser that lets you perform compile-time validation of function-call arguments. Used by the JessDE editor.

(C) 2007 Sandia National Laboratories

See Also:
Jesp.addArgumentChecker(java.lang.String, jess.ArgumentChecker)

Method Summary
 boolean check(Funcall f, JessToken tok, ErrorSink errorSink)
          Check the validity of an argument about to be added to the given Funcall.
 

Method Detail

check

boolean check(Funcall f,
              JessToken tok,
              ErrorSink errorSink)
              throws JessException
Check the validity of an argument about to be added to the given Funcall.

Parameters:
f - The funcall
tok - The token being parsed
errorSink - A place to report errors and warnings
Returns:
Whether the proposed argument is valid
Throws:
JessException

© 2013 Sandia Corporation