SrgsRuleScope 枚举

定义

枚举 SrgsRule 对象的范围的值。Enumerates values for the scope of a SrgsRule object.

public enum class SrgsRuleScope
public enum SrgsRuleScope
type SrgsRuleScope = 
Public Enum SrgsRuleScope
继承
SrgsRuleScope

字段

Private 1

除非它是其包含的语法,根规则不能是引用外部语法的规则的目标。The rule cannot be the target of a rule reference from an external grammar unless it is the root rule of its containing grammar.

Public 0

规则是外部语法可以引用的规则的目标,可以使用规则执行标识。The rule can be the target of a rule reference from an external grammar, which can use the rule to perform recognition. 可始终针对识别激活公共规则。A public rule can always be activated for recognition.

适用于