public void SetupParameters() { var parameterInfo = CodeParameter.GetParameters(parseInfo, ConstructorScope, context.setParameters(), false); Parameters = parameterInfo.Parameters; ParameterVars = parameterInfo.Variables; parseInfo.Script.AddHover(DocRange.GetRange(context.name), GetLabel(true)); }
public void SetupParameters() { var parameterInfo = CodeParameter.GetParameters(parseInfo, ConstructorScope, context.Parameters, false); Parameters = parameterInfo.Parameters; ParameterVars = parameterInfo.Variables; parseInfo.Script.AddHover(context.LocationToken.Range, GetLabel(true)); }
public void SetupBlock() { var parameterInfo = CodeParameter.GetParameters(parseInfo, ConstructorScope, context.setParameters()); Parameters = parameterInfo.Parameters; ParameterVars = parameterInfo.Variables; Block = new BlockAction(parseInfo.SetCallInfo(CallInfo), ConstructorScope, context.block()); parseInfo.Script.AddHover(DocRange.GetRange(context.name), GetLabel(true)); }