Constructors
Properties
Variables
#Methods
AddVariableEx
#BalancedCharTest
#Test a string for balanced open and close chars. You can use this function to see if brackets or parenthesis have been properly used.
Returns: True if the chars are balanced, false if they are not.
CachedSymbols
#Retrieve a copy of the Queue of cached symbols. You can use the cached symbols as an uber-optimization to speed up successive calls to Evaluate() with an identical expression string
CacheSymbols
#Create a Symbols array from the expression. Use this method if you intend to evaluate the same expression multiple times. At this point, the expression has to be in correct syntax format. Use the GH_ExpressionSyntaxWriter.RewriteAll() method to make sure.
DisplayFunctionList
#Evaluate
#Evaluate the expression currently loaded in the Symbols cache using the currently loaded variables.
Evaluate
#Evaluate the expression queue without overriding any local caches. You can obtain an expression queue by calling CachedSymbols()
IsValidVariableName
#Tests whether a string is a valid variable name for expressions. Valid names must contain at least one character, must start with an alphabetic character, and only contain alphanumeric chars and underscores.
Returns: True if the name is valid (might still conflict with a function name though), false if not.