Searched refs:token (Results 226 - 250 of 781) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DLexer.pm36 $self->state->token(undef);
46 # Return a token from this source; i.e., match a token on the char
52 $self->state->token(undef);
67 if (!defined $self->state->token) {
70 elsif ($self->state->token == ANTLR::Runtime::Token->SKIP_TOKEN) {
75 $rv = $self->state->token;
92 # Instruct the lexer to skip creating a token for current lexer rule
93 # and look for another token. nextToken() knows to keep looking when
94 # a lexer rule finishes with token se
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
H A DASTParser.stg38 * token, set, rule, wildcard
51 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
60 tokenRefBang(token,label,elementIndex,terminalOptions) ::= "<super.tokenRef(...)>"
63 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
72 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
79 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
86 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
161 wildcard(token,label,elementIndex,terminalOptions) ::= <<
169 wildcardBang(token,label,elementIndex,terminalOptions) ::= "<super.wildcard(...)>"
H A DASTTreeParser.stg38 * token, set, rule, wildcard
123 tokenRefBang(token,label,elementIndex,terminalOptions) ::= <<
129 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
149 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
155 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
171 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
177 wildcard(token,label,elementIndex,terminalOptions) ::= <<
298 /** Streams for token refs are tree nodes now; override to
301 createRewriteNodeFromElement(token,terminalOptions,scope) ::= <<
303 <terminalOptions.node>New(stream_<token>
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
H A DASTParser.stg38 * token, set, rule, wildcard
52 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
61 tokenRefBang(token,label,elementIndex) ::= "<super.tokenRef(...)>"
64 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
73 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
79 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
85 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
160 wildcard(token,label,elementIndex,terminalOptions) ::= <<
170 wildcardRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
H A DASTParser.stg39 * token, set, rule, wildcard
53 tokenRef(token,label,elementIndex,terminalOptions) ::= <%
64 tokenRefBang(token,label,elementIndex,terminalOptions) ::= "<super.tokenRef(...)>"
67 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <%
78 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
84 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
90 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
167 wildcard(token,label,elementIndex,terminalOptions) ::= <<
179 wildcardRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
/external/chromium/chrome/browser/webdata/
H A Dtoken_service_table.h27 // Store a token in the token_service table. Stored encrypted. May cause
29 // True if we encrypted a token and stored it, false otherwise.
31 const std::string& token);
/external/chromium/chrome/common/net/gaia/
H A Dgoogle_service_auth_error.cc15 : token(t), image_url(img), unlock_url(unlock) {}
21 captcha_.token == b.captcha_.token &&
90 captcha_value->SetString("token", captcha_.token);
/external/chromium/net/tools/flip_server/
H A Dbalsa_headers_token_utils.h21 // Checks whether the last header token matches a given value. Useful to
23 // presence of multiple header lines with given key, the last token of the
27 const base::StringPiece& token);
36 // Removes the last token from the header value. In the presence of multiple
37 // header lines with given key, will remove the last token of the last line.
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/
H A D_base.py106 # Parameter should be encoded HTTP token.
108 token = http_header_util.consume_token(state)
110 # If |rest| is not None, |subprotocol| is not one token or invalid. If
111 # |rest| is None, |token| must not be None because |subprotocol| is
112 # concatenation of |token| and |rest| and is not None.
114 raise HandshakeException('Invalid non-token string in subprotocol '
187 """Parses a header value which follows 1#token and returns parsed elements
198 token = http_header_util.consume_token(state)
199 if token is not None:
200 token_list.append(token)
[all...]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
H A DMakefile28 $(PROJ_SRC_DIR)/token.ml \
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
H A DMakefile28 $(PROJ_SRC_DIR)/token.ml \
/external/qemu/
H A Djson-lexer.h38 QString *token; member in struct:JSONLexer
/external/javassist/src/main/javassist/compiler/
H A DCodeGen.java311 int token = ((Keyword)target).get();
312 return token != THIS && token != SUPER;
865 int token = assignOps[op - MOD_E];
866 int k = lookupBinOp(token);
870 atArithBinExpr(expr, token, k, type);
946 static int lookupBinOp(int token) { argument
950 if (code[k] == token)
957 int token = expr.getOperator();
961 int k = lookupBinOp(token);
997 atArithBinExpr(Expr expr, int token, int index, int type1) argument
1201 compareExpr(boolean branchIf, int token, int type1, BinExpr expr) argument
1685 atPlusPlus(int token, ASTree oprand, Expr expr, boolean doDup) argument
1772 atArrayPlusPlus(int token, boolean isPost, Expr expr, boolean doDup) argument
1788 atPlusPlusCore(int dup_code, boolean doDup, int token, boolean isPost, Expr expr) argument
1821 atFieldPlusPlus(int token, boolean isPost, ASTree oprand, Expr expr, boolean doDup) argument
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3baserecognizer.c229 // Free up any token factory we created (error recovery for instance)
260 /* Now update it to indicate this is a Mismatched token exception
347 ex->token = cts->tstream->_LT (cts->tstream, 1); /* Current input token */
348 ex->line = ((pANTLR3_COMMON_TOKEN)(ex->token))->getLine (ex->token);
349 ex->charPositionInLine = ((pANTLR3_COMMON_TOKEN)(ex->token))->getCharPositionInLine (ex->token);
351 if (((pANTLR3_COMMON_TOKEN)(ex->token))->type == ANTLR3_TOKEN_EOF)
357 ex->streamName = ((pANTLR3_COMMON_TOKEN)(ex->token))
2170 pANTLR3_COMMON_TOKEN token; local
[all...]
/external/openssh/
H A Dssh-pkcs11.c44 CK_TOKEN_INFO token; member in struct:pkcs11_slotinfo
257 if ((si->token.flags & CKF_LOGIN_REQUIRED) && !si->logged_in) {
263 si->token.label);
303 /* redirect private key operations for rsa key to pkcs11 token */
358 login_required = p->slotinfo[slotidx].token.flags & CKF_LOGIN_REQUIRED;
384 * lookup public keys for token in slot identified by slotidx,
490 CK_TOKEN_INFO *token; local
553 token = &p->slotinfo[i].token;
554 if ((rv = f->C_GetTokenInfo(p->slotlist[i], token))
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DBufferedTokenStream.cs57 /** Record every single token pulled from the source so we can reproduce
68 /** The index into the tokens list of the current token (next token
70 * to initialize with first token. The ctor doesn't get a token.
71 * First call to LT(1) or whatever gets the first token and sets p=0;
129 IToken token;
132 token = LB(i);
133 } while (token != null && token
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DBufferedTokenStream.cs59 /** Record every single token pulled from the source so we can reproduce
70 /** The index into the tokens list of the current token (next token
72 * to initialize with first token. The ctor doesn't get a token.
73 * First call to LT(1) or whatever gets the first token and sets p=0;
147 IToken token;
151 token = LB(i);
152 } while (token != null && token
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DCommonErrorNode.java32 /** A node representing erroneous token range in token stream */
47 // sometimes resync does not consume a token (when LT(1) is
49 // Also handle case where start is the first token and no token
100 return "<mismatched token: "+trappedException.token+", resync="+getText()+">";
103 return "<unexpected: "+trappedException.token+
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DLexer.js25 this.state.token = null;
34 /** Return a token from this source; i.e., match a token on the char
39 this.state.token = null;
50 if ( !org.antlr.lang.isValue(this.state.token) ) {
53 else if ( this.state.token==org.antlr.runtime.Token.SKIP_TOKEN ) {
56 return this.state.token;
71 /** Instruct the lexer to skip creating a token for current lexer rule
72 * and look for another token. nextToken() knows to keep looking when
73 * a lexer rule finishes with token se
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DCommonErrorNode.js6 // sometimes resync does not consume a token (when LT(1) is
8 // Also handle case where start is the first token and no token
60 return "<mismatched token: "+this.trappedException.token+", resync="+this.getText()+">";
63 return "<unexpected: "+this.trappedException.token+
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRRecognitionException.h37 id<ANTLRToken> token; variable
45 @property (retain, getter=getToken, setter=setToken:) id<ANTLRToken>token; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRRecognitionException.h37 id<ANTLRToken> token; variable
45 @property (retain, getter=getToken, setter=setToken:) id<ANTLRToken>token; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRRecognitionException.h37 id<ANTLRToken> token; variable
45 @property (retain, getter=getToken, setter=setToken:) id<ANTLRToken>token; variable
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-recognizers.rb29 src.each do |token|
30 tokens << token.type
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
H A DAST.stg71 :{var stream_<it>:RewriteRule<rewriteElementType>Stream=new RewriteRule<rewriteElementType>Stream(adaptor,"token <it>");}; separator="\n">
94 tokenRefTrack(token,label,elementIndex,terminalOptions) ::= <<
96 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n>
102 tokenRefTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
108 tokenRefRuleRootTrack(token,label,elementIndex,terminalOptions) ::= <<
110 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n>
114 tokenRefRuleRootTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
159 // token labels: <referencedTokenLabels; separator=", ">
161 // token list labels: <referencedTokenListLabels; separator=", ">
195 :{var stream_<it>:RewriteRule<rewriteElementType>Stream=new RewriteRule<rewriteElementType>Stream(adaptor,"token <i
[all...]

Completed in 2189 milliseconds

1234567891011>>