public bool AddNaTabela(string lex, string tip, bool con, int esc) { TokenSemantico aux = new TokenSemantico(lex, tip, con, esc); if (!tkSem.Contains(aux)) { tkSem.Add(aux); return(true); } return(false); }
public override bool Equals(object obj) { TokenSemantico aux = (TokenSemantico)obj; if (this.Lexograma == aux.Lexograma) { return(true); } else { return(false); } }