- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for enter_scope (0.13 sec)
-
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
class SymbolTable(object): """Symbol Table for python code.""" def __init__(self): self.symbols = [] self.enter_scope() self.scf_scope = 0 # reserved key words self.insert_symbol('len', 'len', TFRTypes.PY_BUILTIN_FUNC) def enter_scope(self, scf_scope=False): """Enter a new scope - at function level.""" self.symbols.append({'types': {}, 'symbols': {}})
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/utils.kt
@OptIn(ExperimentalContracts::class) internal inline fun AnalysisContext.withScope(scope: AnalysisScope, action: () -> Unit) { contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) } enterScope(scope) try { action() } finally { leaveScope(scope) } } internal fun checkIsAssignable(valueType: DataType, isAssignableTo: DataType): Boolean = when (isAssignableTo) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:47 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt
private val typeRefContext = SchemaTypeRefContext(schema) override fun resolveRef(dataTypeRef: DataTypeRef): DataType = typeRefContext.resolveRef(dataTypeRef) fun enterScope(newScope: AnalysisScope) { mutableScopes.add(newScope) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:46 UTC 2024 - 5K bytes - Viewed (0)