public void Visit(VariableToken token) { if (currentTarget == null) { if (currentPropertyGroup == null) currentPropertyGroup = Project.AddNewPropertyGroup(false); currentPropertyGroup.AddNewProperty(token.VariableName, token.Value); return; } //Construct the thingy into the target var t = currentTarget.AddNewTask("CreateProperty"); t.SetParameterValue("Value", token.Value); t.AddOutputProperty("Value", token.VariableName); }
public void Visit(VariableToken token) { VisitedVariableToken++; TotalCount++; Tokens.Add(token); }