comp • gb.eval • expression

Expression (gb.eval)

This class represents a dynamic Gambas expression.

You can inherit this class to customize the syntax analyzer, by reimplementing the GetValue, IsIdentifier and IsSubr methods.

This class is
Creates a new Expression object.
creatable
.

Static methods

Return if a specific Symbol is an identifier.
IsIdentifier  
Return if a specific Symbol is a subroutine.
IsSubr  

Properties

Methods
Gets or sets the collection used for getting the value of the undefined symbols in the expression.
Environment  
This is the text of the expression.
Text  
Gets the computed value of the expression.
Value  
Compiles the expression.
Compile  
Return the value of the given Symbol.
GetValue