public List<Symbol> getPositiveSymbolsIn(Sentence sentence) { return (List<Symbol>)sentence.accept(this, new List<Symbol>()); } }