GetTokenDepth

GetTokenDepth 1:

Determines the maximum nesting depth of a token. This method returns the depth of the expression hierarchy below the passed token.

Syntax

METHOD PROTECTED GetTokenDepth : UINT
VAR_INPUT
  stToken : POINTER TO ST_BA_StringToken;
END_VAR

GetTokenDepth 2: Inputs

Name

Type

Description

stToken

POINTER TO ST_BA_StringToken

A pointer to the token to be analyzed.