/external/skia/src/sksl/ |
SkSLUtil.cpp | 33 bool is_assignment(Token::Kind op) { 35 case Token::EQ: // fall through 36 case Token::PLUSEQ: // fall through 37 case Token::MINUSEQ: // fall through 38 case Token::STAREQ: // fall through 39 case Token::SLASHEQ: // fall through 40 case Token::PERCENTEQ: // fall through 41 case Token::SHLEQ: // fall through 42 case Token::SHREQ: // fall through 43 case Token::BITWISEOREQ: // fall throug [all...] |
SkSLLexer.cpp | [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/ |
Scanner.java | 18 import org.yaml.snakeyaml.tokens.Token; 21 * This interface represents an input stream of {@link Token Tokens}. 28 * @see org.yaml.snakeyaml.tokens.Token 33 * Check if the next token is one of the given types. 36 * token IDs. 37 * @return <code>true</code> if the next token can be assigned to a variable 43 boolean checkToken(Token.ID... choices); 46 * Return the next token, but do not delete it from the stream. 48 * @return The token that will be returned on the next call to 53 Token peekToken() [all...] |
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
Lexer.h | 21 struct Token; 28 virtual void lex(Token *token) = 0;
|
DirectiveParser.h | 40 void lex(Token *token) override; 45 void parseDirective(Token *token); 46 void parseDefine(Token *token); 47 void parseUndef(Token *token); 48 void parseIf(Token *token); [all...] |
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/ |
Token.java | 1 /* Generated By:JavaCC: Do not edit this line. Token.java Version 7.0 */ 26 * Describes the input token stream. 29 public class Token extends TokenBase implements java.io.Serializable { 39 * An integer that describes the kind of this token. This numbering 45 /** The line number of the first character of this Token. */ 47 /** The column number of the first character of this Token. */ 49 /** The line number of the last character of this Token. */ 51 /** The column number of the last character of this Token. */ 55 * The string image of the token. 60 * A reference to the next regular (non-special) token from the inpu [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/ |
Token.java | 1 /* Generated By:JavaCC: Do not edit this line. Token.java Version 6.1 */ 18 * Describes the input token stream. 21 public class Token implements java.io.Serializable { 31 * An integer that describes the kind of this token. This numbering 37 /** The line number of the first character of this Token. */ 39 /** The column number of the first character of this Token. */ 41 /** The line number of the last character of this Token. */ 43 /** The column number of the last character of this Token. */ 47 * The string image of the token. 52 * A reference to the next regular (non-special) token from the inpu [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/ |
Token.java | 1 /* Generated By:JavaCC: Do not edit this line. Token.java Version 5.0 */ 18 * Describes the input token stream. 21 public class Token implements java.io.Serializable { 31 * An integer that describes the kind of this token. This numbering 37 /** The line number of the first character of this Token. */ 39 /** The column number of the first character of this Token. */ 41 /** The line number of the last character of this Token. */ 43 /** The column number of the last character of this Token. */ 47 * The string image of the token. 52 * A reference to the next regular (non-special) token from the inpu [all...] |
/external/apache-commons-bcel/src/examples/Mini/ |
Token.java | 18 /* Generated By:JavaCC: Do not edit this line. Token.java Version 0.7pre3 */ 22 * Describes the input token stream. 25 public class Token { 28 * An integer that describes the kind of this token. This numbering 36 * of this token; endLine and endColumn describe the position of the 37 * last character of this token. 42 * The string image of the token. 47 * A reference to the next regular (non-special) token from the input 48 * stream. If this is the last token from the input stream, or if the 49 * token manager has not read tokens beyond this one, this field i [all...] |
/external/clang/include/clang/Lex/ |
TokenConcatenation.h | 1 //===--- TokenConcatenation.h - Token Concatenation Avoidance ---*- C++ -*-===// 21 class Token; 28 /// other would cause the lexer to produce one "foobar" token. Emitting "1" 35 /// By default, a token never needs to avoid concatenation. Most tokens 40 /// token's requirements, and it needs to know the first character of the 41 /// token. 44 /// aci_custom - AvoidConcat contains custom code to handle this token's 46 /// token. 54 /// TokenInfo - This array contains information for each token on what 61 bool AvoidConcat(const Token &PrevPrevTok, [all...] |
/external/deqp/framework/randomshaders/ |
rsgVariable.cpp | 50 case STORAGE_CONST: str << Token::CONST; break; 51 case STORAGE_PARAMETER_IN: str << Token::IN; break; 52 case STORAGE_PARAMETER_OUT: str << Token::OUT; break; 53 case STORAGE_PARAMETER_INOUT: str << Token::INOUT; break; 57 str << Token::UNIFORM; 59 str << Token::MEDIUM_PRECISION; 68 str << Token::LAYOUT << Token::LEFT_PAREN << Token::LOCATION << Token::EQUAL << m_layoutLocation << Token::RIGHT_PAREN [all...] |
rsgToken.hpp | 23 * \brief Token class. 33 class Token 127 Token (void); 128 Token (Type type); 129 Token (const char* identifier); 130 Token (float value); 131 Token (int value); 132 Token (bool value); 133 Token (const Token& other) [all...] |
/external/antlr/runtime/ObjC/Framework/ |
ParserRuleReturnScope.h | 28 #import "Token.h" 32 id<Token> start; 33 id<Token> stopToken; 35 @property (retain, getter=getStart, setter=setStart:) id<Token> start; 36 @property (retain, getter=getStop, setter=setStop:) id<Token> stopToken; 38 - (id<Token>) getStart; 39 - (void) setStart: (id<Token>) aStart; 41 - (id<Token>) getStop; 42 - (void) setStop: (id<Token>) aStop;
|
TokenStream.h | 29 #import "Token.h" 33 // Get Token at current input pointer + i ahead where i=1 is next Token. 34 // i<0 indicates tokens in the past. So -1 is previous token and -2 is 35 // two tokens ago. LT:0 is undefined. For i>=n, return Token.EOFToken. 39 - (id<Token>) LT:(NSInteger) i; 41 - (id<Token>) getToken:(NSUInteger) i; 53 /** Because the user is not required to use a token with an index stored 54 * in it, we must provide a means for two token objects themselves to 59 - (NSString *) toStringFromToken:(id<Token>)startToken ToToken:(id<Token>)stopToken [all...] |
/external/clang/test/CodeGen/ |
bitfield-init.c | 6 struct Token { 10 struct Token one = { 1 };
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
TokenSource.java | 35 * to keep going or you do not upon token recognition error. If you do not 40 * requested a token. Keep lexing until you get a valid one. Just report 41 * errors and keep going, looking for a valid token. 44 /** Return a Token object from your input stream (usually a CharStream). 48 public Token nextToken();
|
TokenStream.java | 32 /** Get Token at current input pointer + i ahead where i=1 is next Token. 33 * i<0 indicates tokens in the past. So -1 is previous token and -2 is 34 * two tokens ago. LT(0) is undefined. For i>=n, return Token.EOFToken. 38 public Token LT(int k); 45 /** Get a token at an absolute index i; 0..n-1. This is really only 46 * needed for profiling and debugging and token stream rewriting. 52 public Token get(int i); 55 * the object that provides Token objects. 66 /** Because the user is not required to use a token with an index store [all...] |
UnbufferedTokenStream.java | 32 /** A token stream that pulls tokens from the code source on-demand and 40 * You can only look backwards 1 token: LT(-1). 47 public class UnbufferedTokenStream extends LookaheadStream<Token> implements TokenStream { 49 protected int tokenIndex = 0; // simple counter to set token index in tokens 52 protected int channel = Token.DEFAULT_CHANNEL; 59 public Token nextElement() { 60 Token t = tokenSource.nextToken(); 66 public boolean isEOF(Token o) { return o.getType() == Token.EOF; } 75 public String toString(Token start, Token stop) { return "n/a"; [all...] |
/external/python/cpython3/Lib/ |
contextvars.py | 1 from _contextvars import Context, ContextVar, Token, copy_context 4 __all__ = ('Context', 'ContextVar', 'Token', 'copy_context')
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Pei/ |
PeiPerf.h | 30 IN UINT16 *Token,
45 Token - Pointer to Token Name
59 #define PEI_PERF_START(Ps, Token, FileHeader, Value) PeiPerfMeasure (Ps, Token, FileHeader, FALSE, Value)
60 #define PEI_PERF_END(Ps, Token, FileHeader, Value) PeiPerfMeasure (Ps, Token, FileHeader, TRUE, Value)
62 #define PEI_PERF_START(Ps, Token, FileHeader, Value)
63 #define PEI_PERF_END(Ps, Token, FileHeader, Value)
|
/external/antlr/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
CommonToken.pm | 5 use ANTLR::Runtime::Token; 12 my $token = ANTLR::Runtime::CommonToken->new({ 19 is $token->get_start_index(), 0; 23 ok(ANTLR::Runtime::Token->EOF_TOKEN == ANTLR::Runtime::Token->EOF_TOKEN); 24 ok(ANTLR::Runtime::Token->SKIP_TOKEN == ANTLR::Runtime::Token->SKIP_TOKEN); 28 ok !(ANTLR::Runtime::Token->EOF_TOKEN != ANTLR::Runtime::Token->EOF_TOKEN); 29 ok !(ANTLR::Runtime::Token->SKIP_TOKEN != ANTLR::Runtime::Token->SKIP_TOKEN) [all...] |
/external/libtextclassifier/annotator/ |
feature-processor_test.cc | 87 std::vector<Token> tokens{Token("H?lló", 0, 5), 88 Token("f??ba?@google.com", 6, 23), 89 Token("he?e!", 24, 29)}; 95 {Token("H?lló", 0, 5), 96 Token("f??", 6, 9), 97 Token("ba?", 9, 12), 98 Token("@google.com", 12, 23), 99 Token("he?e!", 24, 29)})); 104 std::vector<Token> tokens{Token("H?lló", 0, 5) [all...] |
/external/skqp/src/sksl/ |
SkSLLexer.cpp | [all...] |
/external/v8/src/parsing/ |
scanner.cc | 137 DCHECK_EQ(scanner_->next_next().token, Token::UNINITIALIZED); 139 // The first token is a bit special, since current_ will still be 143 DCHECK_IMPLIES(scanner_->current().token == Token::UNINITIALIZED, 146 bookmark_ = (scanner_->current().token == Token::UNINITIALIZED) 239 STATIC_ASSERT(Token::NUM_TOKENS <= 0x100); 244 Token::ILLEGAL, 245 Token::ILLEGAL 542 Token::Value token; local 545 Token::Value token = static_cast<Token::Value>(one_char_tokens[c0_]); local 970 Token::Value token = ScanIdentifierOrKeywordInner(&literal); local 1565 Token::Value token = local 1616 Token::Value token = local [all...] |
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/ |
TokenStream.as | 32 /** Get Token at current input pointer + i ahead where i=1 is next Token. 33 * i<0 indicates tokens in the past. So -1 is previous token and -2 is 34 * two tokens ago. LT(0) is undefined. For i>=n, return Token.EOFToken. 38 function LT(k:int):Token; 40 /** Get a token at an absolute index i; 0..n-1. This is really only 41 * needed for profiling and debugging and token stream rewriting. 47 function getToken(i:int):Token; 50 * the object that provides Token objects. 61 /** Because the user is not required to use a token with an index store [all...] |