Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for Macro (0.05 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/Macro.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.language.nativeplatform.internal;
    
    /**
     * An 'object-like' macro definition.
     */
    public interface Macro extends Expression {
        String getName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 785 bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializerTest.groovy

            def include4 = new IncludeWithMacroFunctionCallExpression("A", true, ImmutableList.of(new SimpleExpression("X", IncludeType.MACRO)))
            def include5 = new IncludeWithMacroFunctionCallExpression("A", true, ImmutableList.of(new SimpleExpression("X", IncludeType.MACRO), new SimpleExpression("Y", IncludeType.MACRO)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/IncludeType.java

         */
        SYSTEM,
        /**
         * A quoted include path eg {@code "hello.h"}
         */
        QUOTED,
        /**
         * An identifier that should be macro expanded. These appear in the body of a directive eg {@code #define HEADER ABC}.
         */
        MACRO,
        /**
         * A macro function invocation that should be expanded. These appear in the body of a directive and as arguments to another function eg {@code #define HEADER ABC(X, Y)}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/lex_test.go

    	{
    		"define without value",
    		"#define A",
    		"",
    	},
    	{
    		"macro without arguments",
    		"#define A() 1234\n" + "A()\n",
    		"1234.\n",
    	},
    	{
    		"macro with just parens as body",
    		"#define A () \n" + "A\n",
    		"(.).\n",
    	},
    	{
    		"macro with parens but no arguments",
    		"#define A (x) \n" + "A\n",
    		"(.x.).\n",
    	},
    	{
    		"macro with arguments",
    		"#define A(x, y, z) x+z+y\n" + "A(1, 2, 3)\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/DefaultIncludeDirectives.java

        private final ImmutableList<Include> allIncludes;
        private final ImmutableListMultimap<String, Macro> macros;
        private final ImmutableListMultimap<String, MacroFunction> macroFunctions;
    
        public static IncludeDirectives of(ImmutableList<Include> allIncludes, ImmutableList<Macro> macros, ImmutableList<MacroFunction> macroFunctions) {
            if (allIncludes.isEmpty() && macros.isEmpty() && macroFunctions.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/cpp/MacroDirective.java

     */
    
    package org.gradle.tooling.model.cpp;
    
    import javax.annotation.Nullable;
    
    /**
     * Represent a macro directive.
     *
     * @since 4.10
     */
    public interface MacroDirective {
        /**
         * Returns the name of the macro.
         */
        String getName();
    
        /**
         * Returns the value of the macro, if any.
         */
        @Nullable
        String getValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 962 bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/IncludeDirectives.java

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/lex.go

    	return Token{ScanToken: token, text: text}
    }
    
    func (l Token) String() string {
    	return l.text
    }
    
    // A Macro represents the definition of a #defined macro.
    type Macro struct {
    	name   string   // The #define name.
    	args   []string // Formal arguments.
    	tokens []Token  // Body of macro.
    }
    
    // Tokenize turns a string into a list of Tokens; used to parse the -D flag and in tests.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/language/nativeplatform/internal/Expression.java

        /**
         * When type is {@link IncludeType#QUOTED} or {@link IncludeType#SYSTEM}, then this returns the path, without the delimiters or escape characters.
         * When type is {@link IncludeType#MACRO} or {@link IncludeType#MACRO_FUNCTION}, then this returns the name of the macro.
         * When type is {@link IncludeType#IDENTIFIER} or {@link IncludeType#TOKEN}, then this returns the token.
         * When type anything else, returns null.
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-spi.h

    //   - You cannot stream a failure message to this macro.
    //
    // Note that even though the implementations of the following two
    // macros are much alike, we cannot refactor them to use a common
    // helper macro, due to some peculiarity in how the preprocessor
    // works.  If we do that, the code won't compile when the user gives
    // EXPECT_NONFATAL_FAILURE() a statement that contains a macro that
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top