Syntax Object Methods

Applies to TestComplete 14.61, last modified on April 22, 2021

The Syntax object contains the following methods:

Method List

Name Description
CreateAssign Creates a syntax element that corresponds to an assignment statement.
CreateCollection Creates a syntax element that corresponds to a collection of statements.
CreateCondition Creates a syntax element that corresponds to a comparison or logical expression.
CreateIf Creates a syntax element that corresponds to a conditional (if ... then... else) statement.
CreateInvoke Creates a syntax element that corresponds to an expression containing the variable or property name or a routine or method call.
CreateVarDef Creates a syntax element that corresponds to a variable declaration statement.
GenerateSource Generates the script code based on the specified syntax element.

See Also

Syntax Object

Highlight search results