public override void VisitAttribute(PragmaAttribute a) { if (a.Arguments != null && a.Arguments.Length > 0 && IsIncompleteExpression(a.Arguments[a.Arguments.Length - 1])) { prv = new PragmaCompletionProvider(a, cdgen); halt = true; } else { base.VisitAttribute(a); } }
public virtual void VisitAttribute(PragmaAttribute pragma) { if (pragma.Arguments != null && pragma.Arguments.Length != 0) foreach (var arg in pragma.Arguments) arg.Accept(this); }
public string VisitAttribute(PragmaAttribute attr) { throw new NotImplementedException(); }
public AbstractType VisitAttribute(PragmaAttribute attr) { throw new NotImplementedException(); }
public PragmaCompletionProvider(PragmaAttribute attr, ICompletionDataGenerator gen) : base(gen) { Attribute = attr; }
PragmaAttribute _Pragma() { Expect(Pragma); var s = new PragmaAttribute { Location = t.Location }; LastParsedObject = s; if (Expect(OpenParenthesis)) { if (Expect(Identifier)) s.Identifier = t.Value; var l = new List<IExpression>(); while (laKind == Comma) { Step(); l.Add(AssignExpression()); } if (l.Count > 0) s.Arguments = l.ToArray(); if (Expect(CloseParenthesis)) TrackerVariables.ExpectingIdentifier = false; } s.EndLocation = t.EndLocation; return s; }
public ulong VisitAttribute(PragmaAttribute attr) { return(1000171); }
public CompletionItemKind VisitAttribute(PragmaAttribute attr) { throw new NotImplementedException(); }