Home
last modified time | relevance | path

Searched refs:tokenStream (Results 1 – 21 of 21) sorted by relevance

/external/antlr/runtime/C/include/
Dantlr3tokenstream.h130 … pANTLR3_COMMON_TOKEN (*_LT) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream, ANTLR3_INT32 k);
139 …pANTLR3_COMMON_TOKEN (*get) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream, ANTLR3_UINT32 i);
146 pANTLR3_TOKEN_SOURCE (*getTokenSource) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream);
150 void (*setTokenSource) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream,
156 pANTLR3_STRING (*toString) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream);
163 …pANTLR3_STRING (*toStringSS) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream, ANTLR3_UINT32 s…
171 …pANTLR3_STRING (*toStringTT) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream, pANTLR3_COMMON_…
176 …void (*setDebugListener) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream, pANTLR3_DEBUG_…
182 void (*free) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream);
247 void (*setTokenTypeChannel) (struct ANTLR3_COMMON_TOKEN_STREAM_struct * tokenStream,
[all …]
Dantlr3defs.h607 ANTLR3_API void fillBufferExt (pANTLR3_COMMON_TOKEN_STREAM tokenStream
/external/antlr/runtime/C/src/
Dantlr3tokenstream.c87 static void fillBuffer (pANTLR3_COMMON_TOKEN_STREAM tokenStream);
88 static ANTLR3_UINT32 skipOffTokenChannels (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT3…
89 static ANTLR3_UINT32 skipOffTokenChannelsReverse (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTL…
90 static pANTLR3_COMMON_TOKEN LB (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT32 i);
666 setTokenTypeChannel (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_UINT32 ttype, ANTLR3_UINT32 ch… in setTokenTypeChannel() argument
668 if (tokenStream->channelOverrides == NULL) in setTokenTypeChannel()
670 tokenStream->channelOverrides = antlr3ListNew(10); in setTokenTypeChannel()
676tokenStream->channelOverrides->put(tokenStream->channelOverrides, ttype, ANTLR3_FUNC_PTR((ANTLR3_U… in setTokenTypeChannel()
680 discardTokenType (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT32 ttype) in discardTokenType() argument
682 if (tokenStream->discardSet == NULL) in discardTokenType()
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
DPreprocessorTests.cs48 var tokenStream = new CommonTokenStream(lexer); in TestEmptyComment()
49 tokenStream.Fill(); in TestEmptyComment()
51 List<IToken> tokens = tokenStream.GetTokens(); in TestEmptyComment()
/external/antlr/runtime/ObjC/Framework/
DDebugParser.m48 id<TokenStream> tokenStream = nil;
56 tokenStream = [[DebugTokenStream alloc] initWithTokenStream:theStream debugListener:debugger];
58 tokenStream = [theStream retain];
59 tokenStream = theStream;
61 self = [super initWithTokenStream:tokenStream];
65 [tokenStream release];
DUnbufferedCommonTreeNodeStream.h44 id<TokenStream> tokenStream; variable
63 @property (retain, getter=getTokenStream, setter=setTokenStream:) id<TokenStream> tokenStream;
DUnbufferedCommonTreeNodeStream.m40 @synthesize tokenStream;
142 return tokenStream;
147 if (tokenStream != aTokenStream) {
148 [tokenStream release];
150 tokenStream = aTokenStream;
/external/antlr/runtime/ObjC/Framework/examples/hoistedPredicates/
Dmain.m20 CommonTokenStream *tokenStream = [CommonTokenStream newCommonTokenStreamWithTokenSource:lexer];
21 TParser *parser = [[TParser alloc] initWithTokenStream:tokenStream];
25 [tokenStream release];
/external/antlr/runtime/ObjC/Framework/examples/treerewrite/
Dmain.m19 CommonTokenStream *tokenStream = [CommonTokenStream newCommonTokenStreamWithTokenSource:lexer];
20 TreeRewriteParser *parser = [[TreeRewriteParser alloc] initWithTokenStream:tokenStream];
29 [tokenStream release];
/external/antlr/runtime/Python3/antlr3/
Dmain.py186 tokenStream = CommonTokenStream(lexer)
187 parser = self.parserClass(tokenStream, **kwargs)
221 tokenStream = CommonTokenStream(lexer)
222 parser = self.parserClass(tokenStream)
227 nodeStream.setTokenStream(tokenStream)
/external/antlr/runtime/Python/antlr3/
Dmain.py234 tokenStream = antlr3.CommonTokenStream(lexer)
235 parser = self.parserClass(tokenStream, **kwargs)
292 tokenStream = antlr3.CommonTokenStream(lexer)
293 parser = self.parserClass(tokenStream)
298 nodeStream.setTokenStream(tokenStream)
/external/smali/smalidea/src/main/java/org/jf/smalidea/
DSmaliParser.java50 PsiBuilderTokenStream tokenStream = new PsiBuilderTokenStream(builder); in parse() local
51 smalideaParser parser = new smalideaParser(tokenStream); in parse()
/external/deqp/framework/delibs/decpp/
DdeStringUtil.cpp92 istringstream tokenStream(s); in splitString() local
95 return vector<string>(istream_iterator<string>(tokenStream), in splitString()
102 while (std::getline(tokenStream, token, delim)) in splitString()
/external/smali/smali/src/test/java/org/jf/smali/
DLexerTest.java165 CommonTokenStream tokenStream = new CommonTokenStream(lexer); in runTest() local
166 tokenStream.fill(); in runTest()
167 List tokens = tokenStream.getTokens(); in runTest()
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/
Dmain.m44 CommonTokenStream *tokenStream = [CommonTokenStream newCommonTokenStreamWithTokenSource:lexer];
47 SimpleCParser *parser = [[SimpleCParser alloc] initWithTokenStream:tokenStream];
64 [treeStream setTokenStream:tokenStream];
74 [tokenStream release];
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DParser.as39 tokenStream = input;
72 public function set tokenStream(input:TokenStream):void {
78 public function get tokenStream():TokenStream {
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DCommonTreeNodeStream.as238 return tokenStream.sourceName;
241 public function get tokenStream():TokenStream {
245 public function set tokenStream(tokens:TokenStream):void {
DTreeNodeStream.as63 function get tokenStream():TokenStream;
/external/deqp/modules/glshared/
DglsFboUtil.cpp241 istringstream tokenStream(string(entryIt->extensions)); in addExtFormats() local
242 istream_iterator<string> tokens((tokenStream)), end; in addExtFormats()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg1236 (<scope>!=null?(input.tokenStream.toStringWithRange(
1270 input.tokenStream.toStringWithRange(
/external/angle/src/compiler/translator/
DParseContext.cpp6630 std::stringstream tokenStream = sh::InitializeStream<std::stringstream>(); in checkSingleTextureOffset() local
6631 tokenStream << offsetValue; in checkSingleTextureOffset()
6632 std::string token = tokenStream.str(); in checkSingleTextureOffset()