Searched refs:discardSet (Results 1 – 9 of 9) sorted by relevance
67 protected Dictionary<int, int> discardSet; field in Antlr.Runtime.LegacyCommonTokenStream149 if (discardSet != null && in FillBuffer()150 discardSet.ContainsKey(t.Type)) { in FillBuffer()217 if (discardSet == null) { in DiscardTokenType()218 discardSet = new Dictionary<int, int>(); in DiscardTokenType()220 discardSet.Add(ttype, ttype); in DiscardTokenType()
66 protected List<int> discardSet; field in Antlr.Runtime.LegacyCommonTokenStream157 if ( discardSet != null && in FillBuffer()158 discardSet.Contains( t.Type ) ) in FillBuffer()238 if ( discardSet == null ) in DiscardTokenType()240 discardSet = new List<int>(); in DiscardTokenType()242 discardSet.Add( ttype ); in DiscardTokenType()
51 protected Set<Integer> discardSet; field in LegacyCommonTokenStream107 if ( discardSet!=null && in fillBuffer()108 discardSet.contains(new Integer(t.getType())) ) in fillBuffer()174 if ( discardSet==null ) { in discardTokenType()175 discardSet = new HashSet<Integer>(); in discardTokenType()177 discardSet.add(ttype); in discardTokenType()
143 if (stream->discardSet != NULL) in antlr3CTSFree()145 stream->discardSet->free(stream->discardSet); in antlr3CTSFree()146 stream->discardSet = NULL; in antlr3CTSFree()169 if (cts->discardSet != NULL) in reset()171 cts->discardSet->free(cts->discardSet); in reset()172 cts->discardSet = NULL; in reset()244 stream->discardSet = NULL; in antlr3CommonTokenStreamSourceNew()682 if (tokenStream->discardSet == NULL) in discardTokenType()684 tokenStream->discardSet = antlr3ListNew(31); in discardTokenType()690 …tokenStream->discardSet->put(tokenStream->discardSet, ttype, ANTLR3_FUNC_PTR((ANTLR3_UINT32)ttype … in discardTokenType()[all …]
53 if ( this.discardSet && this.discardSet[t.getType()] )120 if ( !this.discardSet ) {121 this.discardSet = {};123 this.discardSet[ttype] = true;
49 protected var discardSet:Array;93 if ( discardSet !=null &&94 discardSet[t.type] == true )159 if ( discardSet==null ) {160 discardSet = new Array();162 discardSet[ttype] = true;
222 pANTLR3_LIST discardSet; member
639 self.discardSet = set()690 if self.discardSet is not None and t.type in self.discardSet:774 self.discardSet.add(ttype)
593 self.discardSet = set()644 if self.discardSet and t.type in self.discardSet:720 self.discardSet.add(ttype)