EControl Syntax Editor SDK
TGrammaAnalyzer.TestRule Method

Tests sequence of tokens from position FromIndex to satisfy grammar rule Rule

function TestRule(FromIndex: integer; Rule: TParserRule; Tags: TTokenHolder): integer;

FromIndex specifies token index to which Rule is tested. 

Rule - tested grammar rule. 

Tags - interface to tags sequence (base class of TClientSyntAnalyzer).

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!