Home
last modified time | relevance | path

Searched refs:newOptions (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/parser/
DTypedParser.cpp668 TypeAnnotationParsingOptions newOptions = TypeAnnotationParsingOptions::NO_OPTS; in ParseTypeParameter() local
671 newOptions |= TypeAnnotationParsingOptions::THROW_ERROR; in ParseTypeParameter()
677 constraint = ParseTypeAnnotation(&newOptions); in ParseTypeParameter()
683 defaultType = ParseTypeAnnotation(&newOptions); in ParseTypeParameter()
704 auto newOptions = *options | TypeAnnotationParsingOptions::ADD_TYPE_PARAMETER_BINDING; in ParseTypeParameterDeclaration() local
705 ir::TSTypeParameter *currentParam = ParseTypeParameter(&newOptions); in ParseTypeParameterDeclaration()
708 ASSERT((newOptions & TypeAnnotationParsingOptions::THROW_ERROR) == 0); in ParseTypeParameterDeclaration()
728 if ((newOptions & TypeAnnotationParsingOptions::THROW_ERROR) == 0) { in ParseTypeParameterDeclaration()
DETSparser.cpp4336 TypeAnnotationParsingOptions newOptions = TypeAnnotationParsingOptions::THROW_ERROR | in ParseTypeParameter() local
4339 constraint = ParseTypeAnnotation(&newOptions); in ParseTypeParameter()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.cpp103 JSRuntimeOptions newOptions = options; in Create() local
106 newOptions.SetEnableAsmInterpreter(false); in Create()
108 auto vm = new EcmaVM(newOptions, config); in Create()