Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
expression
A structured tree that denotes a value (possibly a set) when evaluated in an appropriate context.
Semantics
An expression is a tree of symbols that evaluates to a (possibly empty) set of instances or values when executed in a context. An expression should not modify the environment in which it is evaluated. An expression has a type. The result value or values are of the given type.
An expression comprises a symbol and a list of operands, which may be literal values (such as Boolean values or numbers), instances, or subexpressions. An expression is therefore a tree whose leaves are literal values, instances, or expression strings in a specific language.
An operand can also be an opaque expression, that is, a string that is to be evaluated ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access