/external/rust/crates/syn/src/ |
D | mac.rs | 2 use crate::token::{Brace, Bracket, Paren}; 33 Bracket(Bracket), 42 MacroDelimiter::Bracket(_) => Delimiter::Bracket, in delimiter_span_close() 48 MacroDelimiter::Bracket(token) => token.span, in delimiter_span_close() 160 Delimiter::Bracket => MacroDelimiter::Bracket(Bracket(span)), in parse_delimiter() 213 MacroDelimiter::Bracket(bracket) => { in to_tokens()
|
D | group.rs | 23 pub token: token::Bracket, 56 parse_delimited(input, Delimiter::Bracket).map(|(span, content)| Brackets { in parse_brackets() 57 token: token::Bracket(span), in parse_brackets() 85 Delimiter::Bracket => "expected square brackets", in parse_delimited()
|
D | tt.rs | 15 | (Delimiter::Bracket, Delimiter::Bracket) in eq() 58 Delimiter::Bracket => 2u8.hash(h), in hash()
|
D | token.rs | 631 impl Token for Bracket { implementation 633 lookahead::is_delimiter(cursor, Delimiter::Bracket) in peek() 758 "[" pub struct Bracket /// `[...]` 1002 "[" => Delimiter::Bracket, in delim()
|
D | attr.rs | 151 pub bracket_token: token::Bracket, 297 } else if input.peek(token::Bracket) { in enter_args()
|
/external/skqp/tools/bookmaker/ |
D | includeParser.cpp | 629 Bracket bracket = this->topBracket(); in checkForWord() 630 if (Bracket::kParen == bracket) { in checkForWord() 650 if (Bracket::kPound != poundDef->fBracket) { in checkForWord() 677 if (Bracket::kPound != fParent->fBracket) { in checkForWord() 688 if (Bracket::kPound != fParent->fBracket) { in checkForWord() 1737 if (parent->fTokens.end() != wordIter && Bracket::kSlashSlash == wordIter->fBracket in findCommentAfter() 1758 || Bracket::kAngle != testIter->fBracket) in findComments() 1769 && (Bracket::kSlashSlash == testIter->fBracket in findComments() 1770 || Bracket::kSlashStar == testIter->fBracket); in findComments() 1910 Bracket IncludeParser::grandParentBracket() const { in grandParentBracket() [all …]
|
D | includeParser.h | 181 Bracket grandParentBracket() const; 227 Bracket bracket = this->topBracket(); in popBracket() 231 void pushBracket(Bracket bracket) { in pushBracket() 263 void setBracketShortCuts(Bracket bracket) { in setBracketShortCuts() 264 fInComment = Bracket::kSlashSlash == bracket || Bracket::kSlashStar == bracket; in setBracketShortCuts() 265 fInString = Bracket::kString == bracket; in setBracketShortCuts() 266 fInChar = Bracket::kChar == bracket; in setBracketShortCuts() 272 Bracket topBracket() const;
|
D | includeWriter.cpp | 606 SkASSERT(Bracket::kBrace == brace->fBracket); in enumMembersOut() 655 if (Bracket::kSlashSlash == token->fBracket) { in enumPreprocessor() 661 if (Bracket::kSlashStar == token->fBracket) { in enumPreprocessor() 667 if (Bracket::kPound == token->fBracket) { // preprocessor wraps member in enumPreprocessor() 690 if (Bracket::kParen == token->fBracket) { in enumPreprocessor() 719 SkASSERT(Bracket::kBrace == brace->fBracket); in enumSizeItems() 831 if (Bracket::kSlashStar == iter->fBracket) { in methodOut() 844 SkASSERT(Bracket::kSlashSlash == iter->fBracket || Bracket::kSlashStar == iter->fBracket); in methodOut() 1138 SkASSERT(Bracket::kBrace == brace->fBracket); in structSizeMembers() 1141 if (Bracket::kSlashSlash == token.fBracket) { in structSizeMembers() [all …]
|
D | definition.h | 100 Definition(Bracket bracket, const char* start, int lineCount, Definition* parent, char mc) in Definition() 249 Bracket fBracket = Bracket::kNone;
|
D | bookmaker.h | 168 enum class Bracket { enum
|
/external/rust/crates/proc-macro2/tests/ |
D | test_fmt.rs | 10 let brackets_empty = Group::new(Delimiter::Bracket, TokenStream::new()); in test_fmt_group() 11 let brackets_nonempty = Group::new(Delimiter::Bracket, inner.clone()); in test_fmt_group()
|
D | comments.rs | 33 assert_eq!(group.delimiter(), Delimiter::Bracket); in lit_of_doc_comment()
|
/external/rust/cxx/syntax/ |
D | mod.rs | 39 use syn::token::{Brace, Bracket, Paren}; 246 pub bracket: Bracket, 252 pub bracket: Bracket,
|
/external/rust/crates/proc-macro-hack/src/ |
D | parse.rs | 3 use proc_macro::Delimiter::{Brace, Bracket, Parenthesis}; 160 Some(TokenTree::Group(group)) if group.delimiter() == Bracket => { in parse_attributes() 247 let ref mut attr = parse_group(tokens, Bracket)?; in parse_fake_call_site()
|
D | quote.rs | 54 ::proc_macro::Delimiter::Bracket,
|
/external/rust/crates/thiserror-impl/src/ |
D | attr.rs | 162 } else if input.peek(token::Bracket) { in parse_token_expr() 166 let mut group = Group::new(Delimiter::Bracket, nested); in parse_token_expr()
|
/external/rust/crates/paste/src/ |
D | lib.rs | 211 if delimiter == Delimiter::Bracket && is_paste_operation(&content) { in expand() 225 let is_attribute = delimiter == Delimiter::Bracket in expand()
|
/external/rust/crates/proc-macro-error-attr/src/ |
D | parse.rs | 36 Some(TokenTree::Group(ref group)) if group.delimiter() == Delimiter::Bracket => { in parse_next_attr()
|
/external/rust/crates/syn/tests/ |
D | test_expr.rs | 148 TokenTree::Group(Group::new(Delimiter::Bracket, quote! { outside })), in test_macro_variable_func()
|
/external/rust/crates/rustversion/src/ |
D | lib.rs | 265 Delimiter::Bracket, in try_attr()
|
/external/python/cpython2/Lib/lib2to3/pgen2/ |
D | tokenize.py | 90 Bracket = '[][(){}]' variable 92 Funny = group(Operator, Bracket, Special)
|
/external/python/cpython2/Lib/ |
D | tokenize.py | 87 Bracket = '[][(){}]' variable 89 Funny = group(Operator, Bracket, Special)
|
/external/python/cpython3/Lib/lib2to3/pgen2/ |
D | tokenize.py | 95 Bracket = '[][(){}]' variable 97 Funny = group(Operator, Bracket, Special)
|
/external/rust/crates/proc-macro2/src/ |
D | wrapper.rs | 579 Delimiter::Bracket => proc_macro::Delimiter::Bracket, in new() 595 proc_macro::Delimiter::Bracket => Delimiter::Bracket, in delimiter()
|
D | parse.rs | 185 b'[' => Some(Delimiter::Bracket), in token_stream() 197 b']' => Some(Delimiter::Bracket), in token_stream() 823 let group = Group::new(Delimiter::Bracket, stream.into_iter().collect()); in doc_comment()
|