SemanticAspect
이 페이지에서

SemanticAspect

타입, 도구 분류

An axis of difference semanticDiff can be told to disregard.

import type { SemanticAspect } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

type SemanticAspect = 'names' | 'declOrder';

설명

  • 'names': the spelling of every internal identifier, meaning helper function names, struct names that are not bound as resources, module const names, and function-scoped parameters and locals. These are the same identifiers a renaming pass such as mangleModule may rewrite. Names a host binds by are compared either way: entry points and their parameters, binding names, binding struct names, struct field names, override names, and intrinsic call ids.
  • 'declOrder': the position of a declaration or statement within its list.

함께 보기

소스

src/core/semantic-diff.ts, 60행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고