Пример #1
0
 internal Token(InternalScriptExtent scriptExtent, TokenKind kind, System.Management.Automation.Language.TokenFlags tokenFlags)
 {
     this._scriptExtent = scriptExtent;
     this._kind = kind;
     this._tokenFlags = tokenFlags | kind.GetTraits();
 }
Пример #2
0
 internal Token(InternalScriptExtent scriptExtent, TokenKind kind, System.Management.Automation.Language.TokenFlags tokenFlags)
 {
     this._scriptExtent = scriptExtent;
     this._kind         = kind;
     this._tokenFlags   = tokenFlags | kind.GetTraits();
 }