This contains the source code documentation of the class subsystem_Expression.
subsystem_Expression
Inherits: DialogicSubsystem
Subsystem that allows executing strings (with the Expression class). This is used by conditions and to allow expresions as variables.
Properties
| Name | Type | Default |
|---|---|---|
| condition_modifier_regex | RegEx | create_from_string(...) |
Methods
| Returns | Method |
|---|---|
| Variant | execute_string ( string: String, default: Variant = null, no_warning: bool = false ) |
| bool | execute_condition ( condition: String ) |
| String | modifier_condition ( text: String ) |
| Array | d_range ( a1: Variant, a2: Variant = null, a3: Variant = null, a4: Variant = null ) |
| int | d_len ( arg: Variant ) |
| bool | d_regex ( input: String, pattern: String, offset: int = 0, end: int = -1 ) |
Property Descriptions
var condition_modifier_regex = create_from_string(...)
No description available.
Method Descriptions
func execute_string ( string: String, default: Variant = null, no_warning: bool = false ) ⇒ Variant
No description available.
func execute_condition ( condition: String ) ⇒ bool
No description available.
func modifier_condition ( text: String ) ⇒ String
No description available.
func d_range ( a1: Variant, a2: Variant = null, a3: Variant = null, a4: Variant = null ) ⇒ Array
##################################################################################################
func d_len ( arg: Variant ) ⇒ int
No description available.
func d_regex ( input: String, pattern: String, offset: int = 0, end: int = -1 ) ⇒ bool
No description available.