public RuleTagToken ( string ruleName, int bypassTokenType, string label ) : System | ||
ruleName | string | The name of the parser rule this rule tag matches. |
bypassTokenType | int | The bypass token type assigned to the parser rule. |
label | string |
/// The label associated with the rule tag, or
/// |
Результат | System |
public RuleTagToken(string ruleName, int bypassTokenType, string label)
{
if (string.IsNullOrEmpty(ruleName))
{
throw new ArgumentException("ruleName cannot be null or empty.");
}
this.ruleName = ruleName;
this.bypassTokenType = bypassTokenType;
this.label = label;
}
RuleTagToken::RuleTagToken ( string ruleName, int bypassTokenType ) : System |