Logo Search packages:      
Sourcecode: wims version File versions  Download package

static boolean org::javia::arity::Symbols::isDefinition ( String  source  )  [inline, static]

source the expression
true if the expression is a definition (i.e. contains a '=').
These are definitions: "a=1+1"; "f(k)=2^k"

These are not definitions: "1+1"; "x+1"

Definition at line 80 of file Symbols.java.

        return source.indexOf('=') != -1;

Generated by  Doxygen 1.6.0   Back to index