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

123456

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DRecognitionException.cs85 * The current Token when an error occurred. Since not all streams
86 * can retrieve the ith Token, we have to track the Token object.
244 public IToken Token property in class:Antlr.Runtime.RecognitionException
392 this._token = ((CommonTree)this._node).Token;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DCommonTree.cs38 * A tree node that is wrapper for a Token object. After 3.0 release
75 this.Token = node.Token;
82 this.Token = t;
91 if ( Token == null || Token.CharPositionInLine == -1 )
98 return Token.CharPositionInLine;
124 return Token == null;
132 if ( Token == null || Token
177 public IToken Token property in class:Antlr.Runtime.Tree.CommonTree
[all...]
/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.h46 struct Token { struct in namespace:blink::XPath
53 Token(int t) : type(t) { } function in struct:blink::XPath::Token
54 Token(int t, const String& v): type(t), str(v) { } function in struct:blink::XPath::Token
55 Token(int t, Step::Axis v): type(t), axis(v) { } function in struct:blink::XPath::Token
56 Token(int t, NumericOp::Opcode v): type(t), numop(v) { } function in struct:blink::XPath::Token
57 Token(int t, EqTestOp::Opcode v): type(t), eqop(v) { } function in struct:blink::XPath::Token
98 Token makeTokenAndAdvance(int type, int advance = 1);
99 Token makeTokenAndAdvance(int type, NumericOp::Opcode, int advance = 1);
100 Token makeTokenAndAdvance(int type, EqTestOp::Opcode, int advance = 1);
104 Token lexStrin
[all...]
/external/chromium_org/third_party/closure_linter/closure_linter/
H A Derror_fixer.py35 Token = javascripttokens.JavaScriptToken variable
153 semicolon_token = Token(';', Type.SEMICOLON, token.line,
227 single_quote_start = Token(
229 single_quote_end = Token(
252 new_token = Token('{', Type.DOC_START_BRACE, start_token.line,
280 new_token = Token('}', Type.DOC_END_BRACE, last_type.line,
335 new_token = Token(' ' * expected, Type.WHITESPACE,
364 whitespace_token = Token(' ', Type.WHITESPACE, token.line,
366 start_comment_token = Token('//', Type.START_SINGLE_LINE_COMMENT,
368 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...]
/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.
38 const std::string& Token() const { return Name(); } function in class:net::ParsedCookie
/external/chromium_org/third_party/WebKit/Source/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/clang/lib/Format/
H A DFormatToken.cpp57 void TokenRole::precomputeFormattingInfos(const FormatToken *Token) {} argument
129 void CommaSeparatedList::precomputeFormattingInfos(const FormatToken *Token) { argument
131 if (!Token->MatchingParen || Token->isNot(tok::l_brace))
139 FormatToken *ItemBegin = Token->Next;
156 ItemEnd = Token->MatchingParen;
166 ItemEnd = Token->MatchingParen->Previous;
180 if (ItemEnd->getNextNonComment() == Token->MatchingParen)
188 if (HasNestedBracedList || Commas.size() < 5 || Token->NestingLevel != 0)
/external/jsoncpp/include/json/
H A Dreader.h109 class Token class in class:Json::Reader
120 Token token_;
127 bool expectToken( TokenType type, Token &token, const char *message );
128 bool readToken( Token &token );
138 bool readObject( Token &token );
139 bool readArray( Token &token );
140 bool decodeNumber( Token &token );
141 bool decodeString( Token &token );
142 bool decodeString( Token &token, std::string &decoded );
143 bool decodeDouble( Token
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/documentation/
H A DWikiParser.js86 WebInspector.WikiParser.Token = function(result, type)
92 WebInspector.WikiParser.Token.prototype = {
151 * @return {!WebInspector.WikiParser.Token}
159 * @return {!WebInspector.WikiParser.Token}
170 * @return {!WebInspector.WikiParser.Token}
183 return new WebInspector.WikiParser.Token(token, WebInspector.WikiParser.TokenType.CodeBlock);
192 return new WebInspector.WikiParser.Token(result[0], WebInspector.WikiParser._tokenDescriptors[i].type);
204 return new WebInspector.WikiParser.Token(token, WebInspector.WikiParser.TokenType.Text);
211 return new WebInspector.WikiParser.Token(token, WebInspector.WikiParser.TokenType.Text);
/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_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:blink::__anon11121
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/src/compiler/preprocessor/
H A DToken.h18 struct Token struct in namespace:pp
65 Token() function in struct:pp::Token
72 bool equals(const Token &other) const;
106 inline bool operator==(const Token &lhs, const Token &rhs)
111 inline bool operator!=(const Token &lhs, const Token &rhs)
116 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/chromium_org/third_party/skia/third_party/lua/src/
H A Dllex.h43 typedef struct Token { struct
46 } Token; typedef in typeref:struct:Token
55 Token t; /* current token */
56 Token lookahead; /* look ahead token */
/external/chromium_org/tools/gn/
H A Dtoken.h11 class Token { class
59 Token();
60 Token(const Location& location, Type t, const base::StringPiece& v);
/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...]

Completed in 9505 milliseconds

123456