Searched defs:Token (Results 26 - 50 of 113) sorted by relevance

12345

/external/chromium/testing/gmock/scripts/generator/cpp/
H A Dtokenize.py52 # Token types.
64 class Token(object): class in inherits:object
83 return 'Token(%r)' % self.name
84 return 'Token(%r, %s, %s)' % (self.name, self.start, self.end)
126 Token that represents the next token in the source.
270 yield Token(token_type, source[start:i], start, i)
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
H A Derror_fixer.py32 Token = javascripttokens.JavaScriptToken variable
136 semicolon_token = Token(';', Type.SEMICOLON, token.line,
211 single_quote_start = Token(
213 single_quote_end = Token(
236 new_token = Token('{', Type.DOC_START_BRACE, start_token.line,
264 new_token = Token('}', Type.DOC_END_BRACE, last_type.line,
313 new_token = Token(' ' * expected, Type.WHITESPACE,
342 whitespace_token = Token(' ', Type.WHITESPACE, token.line,
344 start_comment_token = Token('//', Type.START_SINGLE_LINE_COMMENT,
346 comment_token = Token(' goo
[all...]
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXPathParser.h44 struct Token { struct in namespace:WebCore::XPath
51 Token(int t) : type(t) { } function in struct:WebCore::XPath::Token
52 Token(int t, const String& v): type(t), str(v) { } function in struct:WebCore::XPath::Token
53 Token(int t, Step::Axis v): type(t), axis(v) { } function in struct:WebCore::XPath::Token
54 Token(int t, NumericOp::Opcode v): type(t), numop(v) { } function in struct:WebCore::XPath::Token
55 Token(int t, EqTestOp::Opcode v): type(t), eqop(v) { } function in struct:WebCore::XPath::Token
95 Token makeTokenAndAdvance(int type, int advance = 1);
96 Token makeTokenAndAdvance(int type, NumericOp::Opcode, int advance = 1);
97 Token makeTokenAndAdvance(int type, EqTestOp::Opcode, int advance = 1);
101 Token lexStrin
[all...]
/external/chromium_org/third_party/closure_linter/closure_linter/
H A Derror_fixer.py32 Token = javascripttokens.JavaScriptToken variable
136 semicolon_token = Token(';', Type.SEMICOLON, token.line,
211 single_quote_start = Token(
213 single_quote_end = Token(
236 new_token = Token('{', Type.DOC_START_BRACE, start_token.line,
264 new_token = Token('}', Type.DOC_END_BRACE, last_type.line,
313 new_token = Token(' ' * expected, Type.WHITESPACE,
342 whitespace_token = Token(' ', Type.WHITESPACE, token.line,
344 start_comment_token = Token('//', Type.START_SINGLE_LINE_COMMENT,
346 comment_token = Token(' goo
[all...]
/external/clang/utils/
H A Dtoken-delta.py97 class Token: class in inherits:
127 tokens.append(Token(*kTokenRE.match(ln).groups()))
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
H A DToken.java6 public abstract class Token extends Node class in inherits:Node
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DToken.java30 public interface Token { interface
42 public static final Token EOF_TOKEN = new CommonToken(EOF);
45 public static final Token INVALID_TOKEN = new CommonToken(INVALID_TOKEN_TYPE);
50 public static final Token SKIP_TOKEN = new CommonToken(INVALID_TOKEN_TYPE);
87 * implement but it's nice to know where a Token comes from if you have
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dtokens.py41 class Token(object): class in inherits:object
144 You don't have to implement but it's nice to know where a Token
152 You don't have to implement but it's nice to know where a Token
162 # Token
168 class CommonToken(Token):
179 Token.__init__(self)
312 class ClassicToken(Token):
315 A Token object like we'd use in ANTLR 2.x; has an actual string created
317 tree nodes that have payload objects. We need to create a Token object
326 Token
[all...]
H A Dstreams.py37 from antlr3.tokens import Token, CommonToken namespace
257 Get Token at current input pointer + i ahead where i=1 is next Token.
259 two tokens ago. LT(0) is undefined. For i>=n, return Token.EOFToken.
292 the object that provides Token objects.
599 # Token streams
962 # Token buffer index.
1055 Token t,u;
1136 if isinstance(index, Token):
1137 # index is a Token, gra
[all...]
/external/chromium_org/base/json/
H A Djson_parser.h76 enum Token { enum in class:base::internal::JSONParser
158 Token GetNextToken();
173 Value* ParseToken(Token token);
/external/chromium_org/net/cookies/
H A Dparsed_cookie.h24 // The maximum number of Token/Value pairs. Shouldn't have more than 8.
36 const std::string& Token() const { return Name(); } function in class:net::ParsedCookie
/external/chromium_org/third_party/WebKit/Source/core/platform/text/
H A DDateTimeFormatTest.cpp40 struct Token { struct in class:DateTimeFormatTest
45 Token(FieldType fieldType, int count = 1) function in struct:DateTimeFormatTest::Token
52 Token(const String& string) function in struct:DateTimeFormatTest::Token
59 bool operator==(const Token& other) const
77 return String::format("Token(%d, %d)", fieldType, count);
86 explicit Tokens(const Vector<Token> tokens)
93 m_tokens.append(Token(string));
96 explicit Tokens(Token token1)
101 Tokens(Token token1, Token token
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtoken.rb37 =begin rdoc ANTLR3::Token
52 originated. Token streams will also provide an index value for the token, which
57 == Token as an Interface
63 checking, it's a good idea to include this ANTLR3::Token into your customized
68 module Token module in class:ANTLR3
218 The base class for the standard implementation of Token. It is implemented as a
227 subclass named XYZ::Token.
244 include Token
345 ANTLR3::CommonToken). Token classes are presumed to have an #initialize method
347 have the standard token attributes (see ANTLR3::Token)
[all...]
/external/chromium/base/json/
H A Djson_reader.h53 class Token { class in class:base::JSONReader
70 Token(Type t, const wchar_t* b, int len) function in class:base::JSONReader::Token
161 // Parses a sequence of characters into a Token::NUMBER. If the sequence of
162 // characters is not a valid number, returns a Token::INVALID_TOKEN. Note
165 Token ParseNumberToken();
169 Value* DecodeNumber(const Token& token);
171 // Parses a sequence of characters into a Token::STRING. If the sequence of
172 // characters is not a valid string, returns a Token::INVALID_TOKEN. Note
175 Token ParseStringToken();
179 Value* DecodeString(const Token
[all...]
/external/chromium_org/sync/internal_api/public/util/
H A Dimmutable_unittest.cc97 typedef TokenBase<USE_DEFAULT_SWAP> Token; typedef in namespace:syncer
167 TEST_F(ImmutableTest, Token) {
168 RunTokenTest<Token, Immutable<Token> >("Token", true /* expect_copies */);
172 RunTokenTest<Token, Immutable<Token, HasSwapMemFnByRef<Token> > >(
177 RunTokenTest<Token, Immutable<Token, HasSwapMemFnByPt
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DJSONParser.cpp43 enum Token { enum in namespace:WebCore::__anon10206
194 Token parseToken(const CharType* start, const CharType* end, const CharType** tokenStart, const CharType** tokenEnd)
349 Token token = parseToken(start, end, &tokenStart, &tokenEnd);
/external/chromium_org/third_party/angle_dx11/src/compiler/preprocessor/
H A DToken.h18 struct Token struct in namespace:pp
65 Token() : type(0), flags(0) { } function in struct:pp::Token
68 bool equals(const Token& other) const;
93 inline bool operator==(const Token& lhs, const Token& rhs)
98 inline bool operator!=(const Token& lhs, const Token& rhs)
103 extern std::ostream& operator<<(std::ostream& out, const Token& token);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
H A Dtgsi_parse.h106 struct tgsi_token Token; member in union:tgsi_full_token
/external/chromium_org/third_party/ply/
H A Dlex.py68 # Token class. This class is used to represent the tokens produced.
601 self.log.warning("Token '%s' multiply defined", n)
1057 Token = TOKEN variable
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
H A Dtokenizer.h116 struct Token { struct in class:google::protobuf::io::Tokenizer
131 const Token& current();
135 const Token& previous();
205 // result. If the text is not from a Token of type TYPE_INTEGER originally
235 Token current_; // Returned by current().
236 Token previous_; // Returned by previous().
367 inline const Tokenizer::Token& Tokenizer::current() {
371 inline const Tokenizer::Token& Tokenizer::previous() {
/external/clang/lib/Format/
H A DBreakableToken.cpp177 BreakableLineComment::BreakableLineComment(const FormatToken &Token, argument
181 : BreakableSingleLineToken(Token, StartColumn,
182 getLineCommentPrefix(Token.TokenText), "",
185 if (Token.TokenText.size() > Prefix.size() &&
186 isAlphanumeric(Token.TokenText[Prefix.size()])) {
219 const FormatStyle &Style, const FormatToken &Token, unsigned StartColumn,
222 : BreakableToken(Token, InPPDirective, Encoding) {
223 StringRef TokenText(Token.TokenText);
218 BreakableBlockComment( const FormatStyle &Style, const FormatToken &Token, unsigned StartColumn, unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, encoding::Encoding Encoding) argument
/external/javassist/src/main/javassist/compiler/
H A DLex.java18 class Token { class
19 public Token next = null;
30 private Token currentToken;
31 private Token lookAheadTokens;
42 currentToken = new Token();
55 Token t;
70 Token tk = lookAheadTokens;
79 Token tk2;
80 tk.next = tk2 = new Token();
100 private int get(Token toke
[all...]
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_parse.h106 struct tgsi_token Token; member in union:tgsi_full_token
/external/protobuf/src/google/protobuf/io/
H A Dtokenizer.h115 struct Token { struct in class:google::protobuf::io::Tokenizer
129 const Token& current();
152 // result. If the text is not from a Token of type TYPE_INTEGER originally
182 Token current_; // Returned by current().
290 inline const Tokenizer::Token& Tokenizer::current() {
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/
H A D__init__.py141 class Token(object): class in inherits:object
231 token = Token(key, secret)
524 if token is not None and not isinstance(token, Token):

Completed in 823 milliseconds

12345