- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ComplexExpression (0.25 sec)
-
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/ComplexExpression.java
import javax.annotation.Nullable; import java.util.List; /** * An expression with arguments. */ public class ComplexExpression extends AbstractExpression { private final IncludeType type; private final String value; private final List<Expression> arguments; public ComplexExpression(IncludeType type, @Nullable String value, List<Expression> arguments) { this.type = type; this.value = value;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/AbstractExpression.java
return new SimpleExpression(expression.getValue(), IncludeType.MACRO); } if (expression.getType() == IncludeType.TOKEN_CONCATENATION) { return new ComplexExpression(IncludeType.EXPAND_TOKEN_CONCATENATION, expression.getValue(), expression.getArguments()); } if (expression.getType() == IncludeType.ARGS_LIST && !expression.getArguments().isEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializerTest.groovy
def "serializes nested expression"() { def expression1 = new ComplexExpression(IncludeType.MACRO_FUNCTION, "X", [new SimpleExpression("Y", IncludeType.MACRO)]) def expression2 = new ComplexExpression(IncludeType.MACRO_FUNCTION, "X", [new SimpleExpression("Y", IncludeType.MACRO), new SimpleExpression("Z", 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) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/ArgsMappingMacroFunction.java
int currentMapPos = 0; for (Expression argument : this.arguments) { currentMapPos = mapInto(argument, arguments, currentMapPos, mapped); } return new ComplexExpression(type, value, mapped); } private int mapInto(Expression expression, List<Expression> arguments, int currentMapPos, List<Expression> mapped) { int replaceWith = argsMap[currentMapPos];
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParser.java
String right = buffer.readIdentifier(); if (right == null) { // Need another identifier buffer.pos = pos; return null; } ComplexExpression concatExpression = new ComplexExpression(IncludeType.TOKEN_CONCATENATION, null, Arrays.<Expression>asList(new SimpleExpression(leftToken, IncludeType.IDENTIFIER), new SimpleExpression(right, IncludeType.IDENTIFIER)));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 25.5K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializer.java
return new ComplexExpression(type, expressionValue, args); } else if (tag == COMPLEX_MULTIPLE_ARGS) { String expressionValue = decoder.readNullableString(); IncludeType type = enumSerializer.read(decoder); List<Expression> args = ImmutableList.copyOf(argsSerializer.read(decoder)); return new ComplexExpression(type, expressionValue, args);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 17K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolver.java
if (value.getType() != IncludeType.IDENTIFIER) { visitor.visitUnresolved(); continue; } ComplexExpression macroExpression = new ComplexExpression(IncludeType.MACRO_FUNCTION, value.getValue(), args.getArguments()); if (headExpressions.isEmpty()) { resolveExpression(visibleMacros, macroExpression, visitor, tokenLookup);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 24.4K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 967.9K bytes - Viewed (0)