public void Update(string script, int pos) { parser.Lex(script); var type = parser.GetTypeAtPos(pos); PopulateFromType(type); }