Expression
Object Hierarchy:
Description:
public abstract class Expression :
CodeNode
Base class for all code nodes that might be used as an expression.
Content:
Properties:
Creation methods:
Methods:
- public override bool check (CodeContext context)
- public void insert_statement (Block block, Statement stmt)
- public virtual bool is_accessible (Symbol sym)
Check whether symbol_references in this expression are at least as
accessible as the specified symbol.
- public bool is_always_false ()
Check whether this expression is always false.
- public bool is_always_true ()
Check whether this expression is always true.
- public virtual bool is_constant ()
Returns whether this expression is constant, i.e. whether this
expression only consists of literals and other constants.
- public virtual bool is_non_null ()
Returns whether this expression is guaranteed to be non-null.
- public abstract bool is_pure ()
Returns whether this expression is pure, i.e. whether this expression
is free of side-effects.
Fields:
Inherited Members:
All known members inherited from class Vala.CodeNode