Posted 15 years ago by MJA - Belgium
Avatar
What's the using of the child tag (RegexPatternGroup) for the StateTransition keyword ?

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
StateTransition's are used when a state's end scope is recognized. At that point the state is forced into a different state (usually a different language) specified in the StateTransition. An example is a "<script>" tag. The StateTransition occurs at the ">" and JScript is entered.

The pattern group you define within the StateTransition is what is used to match within the child language. If that pattern is matched, the language exits and the text is rescanned using the parent language.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.