Searched refs:Token (Results 1 - 25 of 124) sorted by relevance

12345

/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/src/
H A DToken.cpp5 * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/src/Token.cpp#2 $
8 #include "antlr/Token.hpp"
15 int Token::getColumn() const
20 int Token::getLine() const
25 ANTLR_USE_NAMESPACE(std)string Token::getText() const
30 int Token::getType() const
35 void Token::setColumn(int)
39 void Token::setLine(int)
43 void Token::setText(const ANTLR_USE_NAMESPACE(std)string&)
47 void Token
[all...]
H A DTokenRefCount.cpp8 #include "antlr/Token.hpp"
14 TokenRef::TokenRef(Token* p)
26 TokenRef* TokenRef::getRef(const Token* p)
29 Token* pp = const_cast<Token*>(p);
H A DCommonToken.cpp15 CommonToken::CommonToken() : Token(), line(1), col(1), text("")
19 : Token(t)
26 : Token()
H A DNoViableAltException.cpp35 if( token->getType() == Token::EOF_TYPE )
37 else if( token->getType() == Token::NULL_TREE_LOOKAHEAD )
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/antlr/
H A DToken.hpp8 * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/Token.hpp#2 $
24 class ANTLR_API Token class in namespace:antlr
44 Token() function in class:antlr::Token
49 Token(int t) function in class:antlr::Token
54 Token(int t, const ANTLR_USE_NAMESPACE(std)string& txt) function in class:antlr::Token
60 virtual ~Token()
86 Token(RefToken other);
87 Token& operator=(const Token& other);
88 Token
[all...]
H A DTokenRefCount.hpp17 class Token;
21 Token* const ptr;
24 TokenRef(Token* p);
36 static TokenRef* getRef(const Token* p);
49 TokenRefCount(const Token* p=0)
62 TokenRefCount<T>& operator=(Token* other)
92 typedef TokenRefCount<Token> RefToken;
H A DTokenStream.hpp12 #include <antlr/Token.hpp>
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter7/
H A Dlexer.ml27 [< 'Token.Kwd c; lex stream >]
37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); stream >]
45 | "def" -> [< 'Token.Def; stream >]
46 | "extern" -> [< 'Token.Extern; stream >]
47 | "if" -> [< 'Token.If; stream >]
48 | "then" -> [< 'Token.Then; stream >]
49 | "else" -> [< 'Token.Else; stream >]
50 | "for" -> [< 'Token.For; stream >]
51 | "in" -> [< 'Token.In; stream >]
52 | "binary" -> [< 'Token
[all...]
H A Dparser.ml21 | [< 'Token.Number n >] -> Ast.Number n
24 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
29 | [< 'Token.Ident id; stream >] ->
33 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
40 | [< 'Token.Kwd '(';
42 'Token.Kwd ')' ?? "expected ')'">] ->
51 | [< 'Token.If; c=parse_expr;
52 'Token.Then ?? "expected 'then'"; t=parse_expr;
53 'Token
[all...]
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter6/
H A Dlexer.ml27 [< 'Token.Kwd c; lex stream >]
37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); stream >]
45 | "def" -> [< 'Token.Def; stream >]
46 | "extern" -> [< 'Token.Extern; stream >]
47 | "if" -> [< 'Token.If; stream >]
48 | "then" -> [< 'Token.Then; stream >]
49 | "else" -> [< 'Token.Else; stream >]
50 | "for" -> [< 'Token.For; stream >]
51 | "in" -> [< 'Token.In; stream >]
52 | "binary" -> [< 'Token
[all...]
H A Dparser.ml20 | [< 'Token.Number n >] -> Ast.Number n
23 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
28 | [< 'Token.Ident id; stream >] ->
32 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
39 | [< 'Token.Kwd '(';
41 'Token.Kwd ')' ?? "expected ')'">] ->
50 | [< 'Token.If; c=parse_expr;
51 'Token.Then ?? "expected 'then'"; t=parse_expr;
52 'Token
[all...]
/macosx-10.10/WebKit2-7600.1.25/UIProcess/
H A DPageLoadState.h86 class Token { class in class:WebKit::PageLoadState::Transaction
88 Token(Transaction& transaction) function in class:WebKit::PageLoadState::Transaction::Token
111 void reset(const Transaction::Token&);
127 void setPendingAPIRequestURL(const Transaction::Token&, const String&);
128 void clearPendingAPIRequestURL(const Transaction::Token&);
130 void didStartProvisionalLoad(const Transaction::Token&, const String& url, const String& unreachableURL);
131 void didReceiveServerRedirectForProvisionalLoad(const Transaction::Token&, const String& url);
132 void didFailProvisionalLoad(const Transaction::Token&);
134 void didCommitLoad(const Transaction::Token&);
135 void didFinishLoad(const Transaction::Token
[all...]
/macosx-10.10/WebCore-7600.1.25/xml/
H A DXPathParser.h55 struct Token;
60 Token makeTokenAndAdvance(int type, int advance = 1);
61 Token makeTokenAndAdvance(int type, NumericOp::Opcode, int advance = 1);
62 Token makeTokenAndAdvance(int type, EqTestOp::Opcode, int advance = 1);
66 Token lexString();
67 Token lexNumber();
71 Token nextToken();
72 Token nextTokenInternal();
H A DXPathParser.cpp50 struct Parser::Token { struct in class:WebCore::XPath::Parser
57 Token(int type) : type(type) { } function in struct:WebCore::XPath::Parser::Token
58 Token(int type, const String& string) : type(type), string(string) { } function in struct:WebCore::XPath::Parser::Token
59 Token(int type, Step::Axis axis) : type(type), axis(axis) { } function in struct:WebCore::XPath::Parser::Token
60 Token(int type, NumericOp::Opcode opcode) : type(type), numericOpcode(opcode) { } function in struct:WebCore::XPath::Parser::Token
61 Token(int type, EqTestOp::Opcode opcode) : type(type), equalityTestOpcode(opcode) { } function in struct:WebCore::XPath::Parser::Token
143 Parser::Token Parser::makeTokenAndAdvance(int code, int advance)
146 return Token(code);
149 Parser::Token Parser::makeTokenAndAdvance(int code, NumericOp::Opcode val, int advance)
152 return Token(cod
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DYAMLParser.cpp100 /// Token - A single YAML token.
101 struct Token : ilist_node<Token> { struct in namespace:llvm::yaml
131 Token() : Kind(TK_Error) {} function in struct:llvm::yaml::Token
138 struct ilist_sentinel_traits<Token> {
139 Token *createSentinel() const {
142 static void destroySentinel(Token*) {}
144 Token *provideInitialHead() const { return createSentinel(); }
145 Token *ensureHead(Token*) cons
[all...]
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter5/
H A Dlexer.ml27 [< 'Token.Kwd c; lex stream >]
37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); stream >]
45 | "def" -> [< 'Token.Def; stream >]
46 | "extern" -> [< 'Token.Extern; stream >]
47 | "if" -> [< 'Token.If; stream >]
48 | "then" -> [< 'Token.Then; stream >]
49 | "else" -> [< 'Token.Else; stream >]
50 | "for" -> [< 'Token.For; stream >]
51 | "in" -> [< 'Token.In; stream >]
52 | id -> [< 'Token
[all...]
H A Dparser.ml20 | [< 'Token.Number n >] -> Ast.Number n
23 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
28 | [< 'Token.Ident id; stream >] ->
32 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
39 | [< 'Token.Kwd '(';
41 'Token.Kwd ')' ?? "expected ')'">] ->
50 | [< 'Token.If; c=parse_expr;
51 'Token.Then ?? "expected 'then'"; t=parse_expr;
52 'Token
[all...]
/macosx-10.10/Security-57031.1.35/securityd/src/
H A Dtoken.h43 // Token is the global-scope object representing a smartcard token.
47 class Token : public PerGlobal, public virtual TokenAcl, public FaultRelay { class in inherits:PerGlobal,TokenAcl,FaultRelay
52 Token();
53 ~Token();
60 TokenCache::Token &cache() const { return *mCache; }
72 static RefPointer<Token> find(uint32 ssid);
82 Token &token(); // myself
90 Access(Token &token);
93 Token &token;
114 RefPointer<TokenCache::Token> mCach
[all...]
H A Dtoken.cpp49 // SSID -> Token map
51 Token::SSIDMap Token::mSubservices;
52 // Make sure to always take mSSIDLock after we take the Token lock
54 Mutex Token::mSSIDLock;
58 // Token construction and destruction is trivial; the good stuff
61 Token::Token() function in class:Token
68 Token::~Token()
[all...]
H A Dtokenaccess.h26 // tokenaccess - access management to a TokenDatabase's Token's TokenDaemon's tokend
48 class Access : public Token::Access {
50 Access(Token &token) : Token::Access(token), mIteration(0)
53 Access(Token &token, Whatever &it) : Token::Access(token)
57 using Token::Access::operator ();
H A Dtokencache.cpp187 TokenCache::Token::Token(TokenCache &c, const string &tokenUid) function in class:TokenCache::Token
206 TokenCache::Token::Token(TokenCache &c) function in class:TokenCache::Token
223 void TokenCache::Token::init(Type type)
232 // The Token destructor might clean or preen a bit, but shouldn't take
235 TokenCache::Token::~Token()
245 string TokenCache::Token::workPath() const
250 string TokenCache::Token
[all...]
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter2/
H A Dparser.ml18 | [< 'Token.Number n >] -> Ast.Number n
21 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
26 | [< 'Token.Ident id; stream >] ->
30 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
37 | [< 'Token.Kwd '(';
39 'Token.Kwd ')' ?? "expected ')'">] ->
54 | Some (Token.Kwd c) when Hashtbl.mem binop_precedence c ->
69 | Some (Token.Kwd c2) ->
94 | [< 'Token
[all...]
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter3/
H A Dparser.ml18 | [< 'Token.Number n >] -> Ast.Number n
21 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
26 | [< 'Token.Ident id; stream >] ->
30 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
37 | [< 'Token.Kwd '(';
39 'Token.Kwd ')' ?? "expected ')'">] ->
54 | Some (Token.Kwd c) when Hashtbl.mem binop_precedence c ->
69 | Some (Token.Kwd c2) ->
94 | [< 'Token
[all...]
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter4/
H A Dparser.ml18 | [< 'Token.Number n >] -> Ast.Number n
21 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
26 | [< 'Token.Ident id; stream >] ->
30 | [< 'Token.Kwd ','; e=parse_args (e :: accumulator) >] -> e
37 | [< 'Token.Kwd '(';
39 'Token.Kwd ')' ?? "expected ')'">] ->
54 | Some (Token.Kwd c) when Hashtbl.mem binop_precedence c ->
69 | Some (Token.Kwd c2) ->
94 | [< 'Token
[all...]
/macosx-10.10/ruby-106/ruby/lib/irb/
H A Druby-token.rb21 class Token class in class:RubyToken
30 class TkNode < Token
37 class TkId < Token
45 class TkVal < Token
53 class TkOp < Token
66 class TkUnknownChar < Token
74 class TkError < Token
77 def Token(token, value = nil) method in class:RubyToken
83 tk = Token(tk[0], value)
92 return Token(t
[all...]

Completed in 316 milliseconds

12345