예제 #1
0
 protected AstTemplateParameter(AstTemplateParameter parameterToCopy)
     : base(AstNodeKind.TemplateParameter)
 {
     Context = parameterToCopy.Context;
     if (parameterToCopy.HasSymbol)
     {
         _symbol = parameterToCopy.Symbol;
     }
 }
예제 #2
0
 public bool TrySetParameterDefinition(AstTemplateParameter templateOrGenericParameterDefinition)
 => Ast.SafeSet(ref _parameterDefinition, templateOrGenericParameterDefinition);