Home
last modified time | relevance | path

Searched refs:token_type (Results 176 – 200 of 3733) sorted by relevance

12345678910>>...150

/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/call-1/
H A Dtokens.snap15 token_type:
26 token_type:
37 token_type:
48 token_type:
59 token_type:
70 token_type:
81 token_type:
92 token_type:
103 token_type:
114 token_type:
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/local-function-1/
H A Dtokens.snap15 token_type:
26 token_type:
37 token_type:
48 token_type:
59 token_type:
70 token_type:
81 token_type:
92 token_type:
103 token_type:
114 token_type:
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/multi-line-string-5/
H A Dtokens.snap15 token_type:
26 token_type:
37 token_type:
48 token_type:
59 token_type:
70 token_type:
81 token_type:
94 token_type:
105 token_type:
116 token_type:
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/roblox_cases/fail/parser/param_tuple_types/
H A Dtokens.snap14 token_type:
25 token_type:
36 token_type:
47 token_type:
58 token_type:
69 token_type:
80 token_type:
91 token_type:
102 token_type:
113 token_type:
[all …]
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/qmuparser/
H A Dqmuparsertokenreader.h107 bool IsBuiltIn(token_type &a_Tok);
108 bool IsArgSep(token_type &a_Tok);
109 bool IsEOF(token_type &a_Tok);
111 bool IsFunTok(token_type &a_Tok);
112 bool IsPostOpTok(token_type &a_Tok);
113 bool IsOprt(token_type &a_Tok);
116 bool IsVarTok(token_type &a_Tok);
117 bool IsStrVarTok(token_type &a_Tok);
119 bool IsString(token_type &a_Tok);
122 token_type& SaveBeforeReturn(const token_type &tok);
[all …]
/dports/textproc/p5-Perl-Lint/Perl-Lint-0.25/lib/Perl/Lint/Policy/ControlStructures/
H A DProhibitNegativeExpressionsInUnlessAndUntilConditions.pm36 for (my $i = 0, my $token_type; my $token = $tokens->[$i]; $i++) {
37 $token_type = $token->{type};
38 if ($token_type == UNLESS_STATEMENT || $token_type == UNTIL_STATEMENT) {
44 $token_type = $token->{type};
45 if ($token_type == SEMI_COLON) {
48 elsif ($invalid_op_types{$token_type}) {
64 $token_type = $token->{type};
66 if ($token_type == LEFT_PAREN) {
69 elsif ($token_type == RIGHT_PAREN) {
72 elsif ($invalid_op_types{$token_type}) {
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/wabt-sys-0.7.1/wabt/src/
H A Dtoken.h49 inline bool IsTokenTypeBare(TokenType token_type) { in IsTokenTypeBare() argument
50 return token_type >= TokenType::First_Bare && in IsTokenTypeBare()
51 token_type <= TokenType::Last_Bare; in IsTokenTypeBare()
55 return token_type >= TokenType::First_String && in IsTokenTypeString()
56 token_type <= TokenType::Last_String; in IsTokenTypeString()
59 inline bool IsTokenTypeType(TokenType token_type) { in IsTokenTypeType() argument
60 return token_type == TokenType::ValueType; in IsTokenTypeType()
64 return token_type >= TokenType::First_Opcode && in IsTokenTypeOpcode()
65 token_type <= TokenType::Last_Opcode; in IsTokenTypeOpcode()
69 return token_type >= TokenType::First_Literal && in IsTokenTypeLiteral()
[all …]
H A Dwast-lexer.cc188 Token WastLexer::BareToken(TokenType token_type) { in BareToken() argument
189 return Token(GetLocation(), token_type); in BareToken()
441 token_type = TokenType::Float; in GetNumberToken()
447 token_type = TokenType::Float; in GetNumberToken()
454 if (token_type == TokenType::Float) { in GetNumberToken()
467 token_type = TokenType::Float; in GetHexNumberToken()
473 token_type = TokenType::Float; in GetHexNumberToken()
480 if (token_type == TokenType::Float) { in GetHexNumberToken()
520 return TextToken(token_type, name.size()); in GetNameEqNumToken()
541 if (IsTokenTypeBare(info->token_type)) { in GetKeywordToken()
[all …]
/dports/textproc/p5-Perl-Lint/Perl-Lint-0.25/lib/Perl/Lint/Policy/BuiltinFunctions/
H A DProhibitReverseSortBlock.pm17 my $token_type = $token->{type};
20 if ($token_type == BUILTIN_FUNC && $token_data eq 'sort') {
30 $token_type = $token->{type};
32 if ($token_type == COMPARE || $token_type == STRING_COMPARE) {
43 elsif ($token_type == LEFT_BRACE) {
46 elsif ($token_type == RIGHT_BRACE) {
49 elsif ($token_type == VAR && $token_data eq '$b') {
53 $token_type == OR ||
54 $token_type == AND ||
55 $token_type == ALPHABET_OR ||
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/table-constructor-2/
H A Dtokens.snap15 token_type:
26 token_type:
37 token_type:
48 token_type:
59 token_type:
70 token_type:
81 token_type:
92 token_type:
103 token_type:
114 token_type:
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/function-shortcuts/
H A Dtokens.snap15 token_type:
26 token_type:
37 token_type:
48 token_type:
59 token_type:
70 token_type:
81 token_type:
92 token_type:
103 token_type:
114 token_type:
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/fail/parser/table-7/
H A Dtokens.snap15 token_type:
26 token_type:
37 token_type:
48 token_type:
59 token_type:
70 token_type:
81 token_type:
92 token_type:
103 token_type:
114 token_type:
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/table-constructor-4/
H A Dast.snap20 token_type:
32 token_type:
48 token_type:
60 token_type:
74 token_type:
86 token_type:
106 token_type:
118 token_type:
131 token_type:
299 token_type:
[all …]
/dports/textproc/p5-Perl-Lint/Perl-Lint-0.25/lib/Perl/Lint/Policy/ClassHierarchies/
H A DProhibitOneArgBless.pm19 my $token_type = $token->{type};
22 if ($token_type == BUILTIN_FUNC && $token_data eq 'bless') {
32 my $token_type = $token->{type};
35 if ($token_type == LEFT_PAREN) {
38 elsif ($token_type == LEFT_BRACE) {
41 elsif ($token_type == LEFT_BRACKET) {
44 elsif ($token_type == RIGHT_PAREN) {
47 elsif ($token_type == RIGHT_BRACE) {
50 elsif ($token_type == RIGHT_BRACKET) {
54 ($token_type == COMMA || $token_type == ARROW) &&
[all …]
/dports/textproc/p5-Perl-Lint/Perl-Lint-0.25/lib/Perl/Lint/Policy/NamingConventions/
H A DCapitalization.pm87 $token_type = $token->{type};
115 $token_type = $token->{type};
118 if ($token_type == LEFT_PAREN) {
231 if ($token_type == FUNCTION_DECL) {
233 $token_type = $token->{type};
300 if ($token_type == PACKAGE) {
302 $token_type = $token->{type};
337 elsif ($token_type == CLASS) {
357 if ($token_type == NAMESPACE || $token_type == NAMESPACE_RESOLVER) {
445 if ($token_type == USE_DECL) {
[all …]
/dports/devel/cpp-hocon/cpp-hocon-0.3.0/lib/src/
H A Dtokens.cc19 token(token_type::VALUE, nullptr, original_text), in value()
35 return other.get_token_type() == token_type::VALUE && in operator ==()
41 token(token_type::NEWLINE, move(origin), "\n") { } in line()
180 token_type::END, nullptr, "", "end of file"); in end_token()
186 token_type::COMMA, nullptr, ",", "','"); in comma_token()
192 token_type::EQUALS, nullptr, "=", "'='"); in equals_token()
198 token_type::COLON, nullptr, ":", "':'"); in colon_token()
204 token_type::OPEN_CURLY, nullptr, "{", "'{'"); in open_curly_token()
210 token_type::CLOSE_CURLY, nullptr, "}", "'}'"); in close_curly_token()
216 token_type::OPEN_SQUARE, nullptr, "[", "'['"); in open_square_token()
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/fail/parser/table-8/
H A Dtokens.snap15 token_type:
26 token_type:
37 token_type:
48 token_type:
59 token_type:
70 token_type:
81 token_type:
92 token_type:
103 token_type:
114 token_type:
[all …]
/dports/textproc/p5-Perl-Lint/Perl-Lint-0.25/lib/Perl/Lint/Policy/ValuesAndExpressions/
H A DProhibitVersionStrings.pm17 my $token_type = $token->{type};
20 $token_type == USE_DECL ||
21 $token_type == USED_NAME ||
22 $token_type == NAMESPACE ||
23 $token_type == REQUIRE_DECL ||
24 $token_type == REQUIRED_NAME
26 $token_type = $tokens->[$i+1]->{type};
28 if ($token_type == DOUBLE) {
29 $token_type = $tokens->[$i+2]->{type};
30 if ($token_type == DOUBLE) {
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/while/
H A Dtokens.snap15 token_type:
26 token_type:
37 token_type:
48 token_type:
59 token_type:
70 token_type:
81 token_type:
92 token_type:
103 token_type:
114 token_type:
[all …]
/dports/textproc/p5-Perl-Lint/Perl-Lint-0.25/lib/Perl/Lint/Policy/Variables/
H A DProhibitLocalVars.pm16 for (my $i = 0, my $token_type; my $token = $tokens->[$i]; $i++) {
17 $token_type = $token->{type};
19 if ($token_type == LOCAL_DECL) {
21 $token_type = $token->{type};
23 if ($token_type == LEFT_PAREN) {
27 $token_type = $token->{type};
28 if ($token_type == LEFT_PAREN) {
31 elsif ($token_type == RIGHT_PAREN) {
40 elsif ($token_type == GLOBAL_VAR || $token_type == VAR) {
56 elsif ($token_type == GLOBAL_VAR || $token_type == VAR) {
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/anonymous-functions-1/
H A Dast.snap20 token_type:
32 token_type:
48 token_type:
60 token_type:
74 token_type:
86 token_type:
104 token_type:
120 token_type:
134 token_type:
257 token_type:
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/semicolons-1/
H A Dast.snap20 token_type:
32 token_type:
48 token_type:
60 token_type:
74 token_type:
86 token_type:
118 token_type:
130 token_type:
148 token_type:
174 token_type:
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/anonymous-functions-4/
H A Dast.snap20 token_type:
32 token_type:
48 token_type:
60 token_type:
74 token_type:
86 token_type:
104 token_type:
120 token_type:
134 token_type:
146 token_type:
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/tests/cases/pass/local-assignment-5/
H A Dast.snap20 token_type:
32 token_type:
48 token_type:
74 token_type:
86 token_type:
131 token_type:
142 token_type:
154 token_type:
166 token_type:
208 token_type:
[all …]
/dports/textproc/p5-Perl-Lint/Perl-Lint-0.25/lib/Perl/Lint/Policy/TestingAndDebugging/
H A DProhibitProlongedStrictureOverride.pm30 my $token_type = $token->{type};
32 if ($token_type == FUNCTION_DECL) {
38 my $token_type = $token->{type};
42 $token_type = $token->{type};
50 elsif ($token_type == SEMI_COLON && $no_strict) {
63 elsif ($token_type == LEFT_BRACE) {
66 elsif ($token_type == RIGHT_BRACE) {
74 elsif ($token_type == BUILTIN_FUNC and $token->{data} eq 'no') {
76 $token_type = $token->{type};
79 if ($token_type == KEY && $token->{data} eq 'strict') {
[all …]

12345678910>>...150