refactor(ivy): remove short instruction names as they provide no value (#25493)

PR Close #25493
This commit is contained in:
Miško Hevery
2018-08-14 16:48:58 -07:00
committed by Jason Aden
parent 92c8752d0a
commit 9ee6702fa9
30 changed files with 1059 additions and 1036 deletions

View File

@ -36,86 +36,86 @@ export {
CssSelectorList as ɵCssSelectorList,
markDirty as ɵmarkDirty,
NgModuleFactory as ɵNgModuleFactory,
NC as ɵNC,
C as ɵC,
x as ɵx,
E as ɵE,
NH as ɵNH,
NM as ɵNM,
NS as ɵNS,
Ee as ɵEe,
L as ɵL,
T as ɵT,
V as ɵV,
Q as ɵQ,
Qr as ɵQr,
d as ɵd,
P as ɵP,
b as ɵb,
i1 as ɵi1,
i2 as ɵi2,
i3 as ɵi3,
i4 as ɵi4,
i5 as ɵi5,
i6 as ɵi6,
i7 as ɵi7,
i8 as ɵi8,
iV as ɵiV,
pb1 as ɵpb1,
pb2 as ɵpb2,
pb3 as ɵpb3,
pb4 as ɵpb4,
pbV as ɵpbV,
f0 as ɵf0,
f1 as ɵf1,
f2 as ɵf2,
f3 as ɵf3,
f4 as ɵf4,
f5 as ɵf5,
f6 as ɵf6,
f7 as ɵf7,
f8 as ɵf8,
fV as ɵfV,
gV as ɵgV,
rV as ɵrV,
cR as ɵcR,
cr as ɵcr,
qR as ɵqR,
ql as ɵql,
e as ɵe,
p as ɵp,
pD as ɵpD,
r as ɵr,
rS as ɵrS,
a as ɵa,
s as ɵs,
sm as ɵsm,
sp as ɵsp,
sa as ɵsa,
cp as ɵcp,
t as ɵt,
v as ɵv,
st as ɵst,
ld as ɵld,
Pp as ɵPp,
NO_CHANGE as ɵNO_CHANGE,
container as ɵcontainer,
nextContext as ɵnextContext,
elementStart as ɵelementStart,
namespaceHTML as ɵnamespaceHTML,
namespaceMathML as ɵnamespaceMathML,
namespaceSVG as ɵnamespaceSVG,
element as ɵelement,
listener as ɵlistener,
text as ɵtext,
embeddedViewStart as ɵembeddedViewStart,
query as ɵquery,
registerContentQuery as ɵregisterContentQuery,
loadDirective as ɵloadDirective,
projection as ɵprojection,
bind as ɵbind,
interpolation1 as ɵinterpolation1,
interpolation2 as ɵinterpolation2,
interpolation3 as ɵinterpolation3,
interpolation4 as ɵinterpolation4,
interpolation5 as ɵinterpolation5,
interpolation6 as ɵinterpolation6,
interpolation7 as ɵinterpolation7,
interpolation8 as ɵinterpolation8,
interpolationV as ɵinterpolationV,
pipeBind1 as ɵpipeBind1,
pipeBind2 as ɵpipeBind2,
pipeBind3 as ɵpipeBind3,
pipeBind4 as ɵpipeBind4,
pipeBindV as ɵpipeBindV,
pureFunction0 as ɵpureFunction0,
pureFunction1 as ɵpureFunction1,
pureFunction2 as ɵpureFunction2,
pureFunction3 as ɵpureFunction3,
pureFunction4 as ɵpureFunction4,
pureFunction5 as ɵpureFunction5,
pureFunction6 as ɵpureFunction6,
pureFunction7 as ɵpureFunction7,
pureFunction8 as ɵpureFunction8,
pureFunctionV as ɵpureFunctionV,
getCurrentView as ɵgetCurrentView,
restoreView as ɵrestoreView,
containerRefreshStart as ɵcontainerRefreshStart,
containerRefreshEnd as ɵcontainerRefreshEnd,
queryRefresh as ɵqueryRefresh,
loadQueryList as ɵloadQueryList,
elementEnd as ɵelementEnd,
elementProperty as ɵelementProperty,
projectionDef as ɵprojectionDef,
reference as ɵreference,
reserveSlots as ɵreserveSlots,
elementAttribute as ɵelementAttribute,
elementStyling as ɵelementStyling,
elementStylingMap as ɵelementStylingMap,
elementStyleProp as ɵelementStylingProp,
elementStylingApply as ɵelementStylingApply,
elementClassProp as ɵelementClassProp,
textBinding as ɵtextBinding,
embeddedViewEnd as ɵembeddedViewEnd,
store as ɵstore,
load as ɵload,
pipe as ɵpipe,
BaseDef as ɵBaseDef,
ComponentDef as ɵComponentDef,
ComponentDefInternal as ɵComponentDefInternal,
DirectiveDef as ɵDirectiveDef,
PipeDef as ɵPipeDef,
whenRendered as ɵwhenRendered,
iA as ɵiA,
iEM as ɵiEM,
iI1 as ɵiI1,
iI2 as ɵiI2,
iI3 as ɵiI3,
iI4 as ɵiI4,
iI5 as ɵiI5,
iI6 as ɵiI6,
iI7 as ɵiI7,
iI8 as ɵiI8,
iIV as ɵIV,
iM as ɵiM,
i18nApply as ɵi18nApply,
i18nExpMapping as ɵi18nExpMapping,
i18nInterpolation1 as ɵi18nInterpolation1,
i18nInterpolation2 as ɵi18nInterpolation2,
i18nInterpolation3 as ɵi18nInterpolation3,
i18nInterpolation4 as ɵi18nInterpolation4,
i18nInterpolation5 as ɵi18nInterpolation5,
i18nInterpolation6 as ɵi18nInterpolation6,
i18nInterpolation7 as ɵi18nInterpolation7,
i18nInterpolation8 as ɵi18nInterpolation8,
i18nInterpolationV as ɵi18nInterpolationV,
i18nMapping as ɵi18nMapping,
I18nInstruction as ɵI18nInstruction,
I18nExpInstruction as ɵI18nExpInstruction,
WRAP_RENDERER_FACTORY2 as ɵWRAP_RENDERER_FACTORY2,

View File

@ -19,93 +19,85 @@ export {QUERY_READ_CONTAINER_REF, QUERY_READ_ELEMENT_REF, QUERY_READ_FROM_NODE,
export {RenderFlags} from './interfaces/definition';
export {CssSelectorList} from './interfaces/projection';
// Naming scheme:
// - Capital letters are for creating things: T(Text), E(Element), D(Directive), V(View),
// C(Container), L(Listener)
// - lower case letters are for binding: b(bind)
// - lower case letters are for binding target: p(property), a(attribute), k(class), s(style),
// i(input)
// - lower case letters for guarding life cycle hooks: l(lifeCycle)
// - lower case for closing: c(containerEnd), e(elementEnd), v(viewEnd)
// clang-format off
export {
NO_CHANGE as NC,
NO_CHANGE,
bind as b,
interpolation1 as i1,
interpolation2 as i2,
interpolation3 as i3,
interpolation4 as i4,
interpolation5 as i5,
interpolation6 as i6,
interpolation7 as i7,
interpolation8 as i8,
interpolationV as iV,
bind,
interpolation1,
interpolation2,
interpolation3,
interpolation4,
interpolation5,
interpolation6,
interpolation7,
interpolation8,
interpolationV,
container as C,
containerRefreshStart as cR,
containerRefreshEnd as cr,
container,
containerRefreshStart,
containerRefreshEnd,
nextContext as x,
nextContext,
element as Ee,
elementAttribute as a,
elementClassProp as cp,
elementEnd as e,
elementProperty as p,
elementStart as E,
element,
elementAttribute,
elementClassProp,
elementEnd,
elementProperty,
elementStart,
elementContainerStart as EC,
elementContainerEnd as eC,
elementContainerStart,
elementContainerEnd,
elementStyling as s,
elementStylingMap as sm,
elementStyleProp as sp,
elementStylingApply as sa,
elementStyling,
elementStylingMap,
elementStyleProp,
elementStylingApply,
getCurrentView as gV,
restoreView as rV,
getCurrentView,
restoreView,
listener as L,
store as st,
load as ld,
loadDirective as d,
listener,
store,
load,
loadDirective,
namespaceHTML as NH,
namespaceMathML as NM,
namespaceSVG as NS,
namespaceHTML,
namespaceMathML,
namespaceSVG,
projection as P,
projectionDef as pD,
projection,
projectionDef,
text as T,
textBinding as t,
text,
textBinding,
reference as r,
reference,
reserveSlots as rS,
reserveSlots,
embeddedViewStart as V,
embeddedViewEnd as v,
embeddedViewStart,
embeddedViewEnd,
detectChanges,
markDirty,
tick,
} from './instructions';
export {
i18nApply as iA,
i18nMapping as iM,
i18nInterpolation1 as iI1,
i18nInterpolation2 as iI2,
i18nInterpolation3 as iI3,
i18nInterpolation4 as iI4,
i18nInterpolation5 as iI5,
i18nInterpolation6 as iI6,
i18nInterpolation7 as iI7,
i18nInterpolation8 as iI8,
i18nInterpolationV as iIV,
i18nExpMapping as iEM,
i18nApply,
i18nMapping,
i18nInterpolation1,
i18nInterpolation2,
i18nInterpolation3,
i18nInterpolation4,
i18nInterpolation5,
i18nInterpolation6,
i18nInterpolation7,
i18nInterpolation8,
i18nInterpolationV,
i18nExpMapping,
I18nInstruction,
I18nExpInstruction
} from './i18n';
@ -117,35 +109,35 @@ export {
} from './interfaces/node';
export {
pipe as Pp,
pipeBind1 as pb1,
pipeBind2 as pb2,
pipeBind3 as pb3,
pipeBind4 as pb4,
pipeBindV as pbV,
pipe,
pipeBind1,
pipeBind2,
pipeBind3,
pipeBind4,
pipeBindV,
} from './pipe';
export {
QueryList,
query as Q,
queryRefresh as qR,
query,
queryRefresh,
} from './query';
export {
registerContentQuery as Qr,
loadQueryList as ql,
registerContentQuery,
loadQueryList,
} from './instructions';
export {
pureFunction0 as f0,
pureFunction1 as f1,
pureFunction2 as f2,
pureFunction3 as f3,
pureFunction4 as f4,
pureFunction5 as f5,
pureFunction6 as f6,
pureFunction7 as f7,
pureFunction8 as f8,
pureFunctionV as fV,
pureFunction0,
pureFunction1,
pureFunction2,
pureFunction3,
pureFunction4,
pureFunction5,
pureFunction6,
pureFunction7,
pureFunction8,
pureFunctionV,
} from './pure_function';

View File

@ -37,68 +37,68 @@ export const angularCoreEnv: {[name: string]: Function} = {
'ɵNgOnChangesFeature': r3.NgOnChangesFeature,
'ɵPublicFeature': r3.PublicFeature,
'ɵInheritDefinitionFeature': r3.InheritDefinitionFeature,
a': r3.a,
'ɵb': r3.b,
C': r3.C,
x': r3.x,
'ɵcR': r3.cR,
'ɵcr': r3.cr,
d': r3.d,
ql': r3.ql,
NH': r3.NH,
NM': r3.NM,
NS': r3.NS,
E': r3.E,
'ɵe': r3.e,
Ee': r3.Ee,
'ɵEC': r3.EC,
'ɵeC': r3.eC,
f0': r3.f0,
f1': r3.f1,
f2': r3.f2,
f3': r3.f3,
f4': r3.f4,
f5': r3.f5,
f6': r3.f6,
f7': r3.f7,
f8': r3.f8,
fV': r3.fV,
'ɵgV': r3.gV,
'ɵrV': r3.rV,
'ɵi1': r3.i1,
'ɵi2': r3.i2,
'ɵi3': r3.i3,
'ɵi4': r3.i4,
'ɵi5': r3.i5,
'ɵi6': r3.i6,
'ɵi7': r3.i7,
'ɵi8': r3.i8,
'ɵiV': r3.iV,
cp': r3.cp,
L': r3.L,
'ɵld': r3.ld,
P': r3.P,
p': r3.p,
'ɵpb1': r3.pb1,
'ɵpb2': r3.pb2,
'ɵpb3': r3.pb3,
'ɵpb4': r3.pb4,
'ɵpbV': r3.pbV,
'ɵpD': r3.pD,
Pp': r3.Pp,
Q': r3.Q,
'ɵqR': r3.qR,
Qr': r3.Qr,
'ɵrS': r3.rS,
'ɵr': r3.r,
s': r3.s,
sm': r3.sm,
sp': r3.sp,
sa': r3.sa,
T': r3.T,
'ɵt': r3.t,
V': r3.V,
v': r3.v,
elementAttribute': r3.elementAttribute,
'ɵbind': r3.bind,
container': r3.container,
nextContext': r3.nextContext,
'ɵcontainerRefreshStart': r3.containerRefreshStart,
'ɵcontainerRefreshEnd': r3.containerRefreshEnd,
loadDirective': r3.loadDirective,
'ɵloadQueryList': r3.loadQueryList,
namespaceHTML': r3.namespaceHTML,
namespaceMathML': r3.namespaceMathML,
namespaceSVG': r3.namespaceSVG,
elementStart': r3.elementStart,
'ɵelementEnd': r3.elementEnd,
'ɵelement': r3.element,
'ɵEC': r3.elementContainerStart,
'ɵeC': r3.elementContainerEnd,
pureFunction0': r3.pureFunction0,
pureFunction1': r3.pureFunction1,
pureFunction2': r3.pureFunction2,
pureFunction3': r3.pureFunction3,
pureFunction4': r3.pureFunction4,
pureFunction5': r3.pureFunction5,
pureFunction6': r3.pureFunction6,
pureFunction7': r3.pureFunction7,
pureFunction8': r3.pureFunction8,
pureFunctionV': r3.pureFunctionV,
'ɵgetCurrentView': r3.getCurrentView,
'ɵrestoreView': r3.restoreView,
'ɵinterpolation1': r3.interpolation1,
'ɵinterpolation2': r3.interpolation2,
'ɵinterpolation3': r3.interpolation3,
'ɵinterpolation4': r3.interpolation4,
'ɵinterpolation5': r3.interpolation5,
'ɵinterpolation6': r3.interpolation6,
'ɵinterpolation7': r3.interpolation7,
'ɵinterpolation8': r3.interpolation8,
'ɵinterpolationV': r3.interpolationV,
elementClassProp': r3.elementClassProp,
listener': r3.listener,
'ɵload': r3.load,
projection': r3.projection,
elementProperty': r3.elementProperty,
'ɵpipeBind1': r3.pipeBind1,
'ɵpipeBind2': r3.pipeBind1,
'ɵpipeBind3': r3.pipeBind3,
'ɵpipeBind4': r3.pipeBind4,
'ɵpipeBindV': r3.pipeBindV,
'ɵprojectionDef': r3.projectionDef,
'ɵpipe': r3.pipe,
query': r3.query,
'ɵqueryRefresh': r3.queryRefresh,
registerContentQuery': r3.registerContentQuery,
'ɵreserveSlots': r3.reserveSlots,
'ɵreference': r3.reference,
elementStyling': r3.elementStyling,
elementStylingMap': r3.elementStylingMap,
elementStylingProp': r3.elementStyleProp,
elementStylingApply': r3.elementStylingApply,
text': r3.text,
'ɵtextBinding': r3.textBinding,
embeddedViewStart': r3.embeddedViewStart,
embeddedViewEnd': r3.embeddedViewEnd,
'ɵzh': sanitization.sanitizeHtml,
'ɵzs': sanitization.sanitizeStyle,