/// <summary> /// Visit a technique, store an error /// </summary> /// <param name="technique">the technique</param> public override Node Visit(Technique technique) { Error(XenkoMessageCode.ErrorTechniqueFound, technique.Span, technique, analyzedModuleMixin.MixinName); // TODO: remove because parsing may fail before return technique; }
public override void Visit(Technique technique) { }
public override void Visit(Technique technique) { Error(ParadoxMessageCode.ErrorTechniqueFound, technique.Span, technique, analyzedModuleMixin.MixinName); // TODO: remove because parsing may fail before }
/// <summary> /// Visits the specified technique. /// </summary> /// <param name="technique">The technique.</param> public override void Visit(Technique technique) { Write(technique.Attributes, true); Write(technique.Type); if (technique.Name != null) { Write(" ").Write(technique.Name); } WriteSpace(); Write(technique.Attributes, false); OpenBrace(); VisitList(technique.Passes); CloseBrace(); }
public virtual void Visit(Technique technique) { // Force to not visit a techniques }
public override Node Visit(Technique technique) { // Force to not visit a techniques return technique; }