Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ARGS_LIST (0.27 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/AbstractExpression.java

            }
            if (expression.getType() == IncludeType.ARGS_LIST && !expression.getArguments().isEmpty()) {
                List<Expression> mapped = new ArrayList<Expression>(expression.getArguments().size());
                for (Expression arg : expression.getArguments()) {
                    mapped.add(arg.asMacroExpansion());
                }
                return new ComplexExpression(IncludeType.ARGS_LIST, null, mapped);
            }
            return expression;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/Expression.java

         * Returns the left and right arguments of the expression when type is {@link IncludeType#TOKEN_CONCATENATION}.
         * Returns the sequence of arguments when type is {@link IncludeType#ARGS_LIST}.
         * Returns the sequence of expressions when type is {@link IncludeType#EXPRESSIONS}.
         */
        List<Expression> getArguments();
    
        /**
         * Returns this expression as a macro expansion expression.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/SimpleExpression.java

        public static final Expression EMPTY_EXPRESSIONS = new SimpleExpression(null, IncludeType.EXPRESSIONS);
        static final Expression EMPTY_ARGS = new SimpleExpression(null, IncludeType.ARGS_LIST);
        static final Expression LEFT_PAREN = new SimpleExpression("(", IncludeType.TOKEN);
        static final Expression COMMA = new SimpleExpression(",", IncludeType.TOKEN);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/IncludeType.java

         */
        IDENTIFIER,
        /**
         * A macro function argument list. These appear in the body of a directive or as the arguments to a {@link #MACRO_FUNCTION} eg {@code #include ABC(a b c)}.
         */
        ARGS_LIST,
        /**
         * A sequence of expressions. These appear as the arguments to a {@link #MACRO_FUNCTION} eg {@code #include ABC(a b c)}.
         */
        EXPRESSIONS,
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializerTest.groovy

            def include = new IncludeWithMacroFunctionCallExpression("A", true, ImmutableList.of(
                new SimpleExpression(null, IncludeType.EXPRESSIONS),
                new SimpleExpression(null, IncludeType.ARGS_LIST),
                new SimpleExpression(",", IncludeType.TOKEN),
                new SimpleExpression("(", IncludeType.TOKEN),
                new SimpleExpression(")", IncludeType.TOKEN)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top