• Home
  • Raw
  • Download

Lines Matching refs:log

262 …checkController: ControllerType, log: LogInfo[], program: ts.Program, context: ts.TransformationCo…
271 createVariableInitStatement(item, COMPONENT_NON_DECORATOR, log, program, context, hasPreview,
278 validatePropertyNonType(name, log);
280 } else if (validateCustomDecorator(item.decorators, log)) {
284 log, program, context, hasPreview, interfaceNode);
329 watchMap: Map<string, ts.Node>, log: LogInfo[], program: ts.Program,
339 validateDuplicateDecorator(node.decorators[i], log);
343 validateForbiddenUseStateType(name, decoratorName, node.type.typeName.getText(), log);
348 validateHasIllegalDecoratorInEntry(parentName, name, decoratorName, log);
351 validatePropertyDefaultValue(name, decoratorName, log);
354 validatePropertyNonDefaultValue(name, decoratorName, log);
358 validateHasIllegalQuestionToken(name, decoratorName, log);
365 validateWatchDecorator(name, node.decorators.length, log)) {
366 processWatch(node, node.decorators[i], watchMap, log);
369 processStateDecorators(node, decoratorName, updateResult, ctorNode, log, program, context,
374 validateMultiDecorators(name, log);
380 updateResult: UpdateResult, ctorNode: ts.ConstructorDeclaration, log: LogInfo[],
387 createVariableInitStatement(node, decorator, log, program, context, hasPreview, interfaceNode);
430 watchMap: Map<string, ts.Node>, log: LogInfo[]): void {
441 log.push({
452 validateWatchParam(LogType.WARN, argument.getStart(), log);
455 validateWatchParam(LogType.WARN, argument.getStart(), log);
457 validateWatchParam(LogType.ERROR, argument.getStart(), log);
464 log: LogInfo[], program: ts.Program, context: ts.TransformationContext, hasPreview: boolean,
474 updateState = updateNormalProperty(node, name, log, context);
482 wrongDecoratorInPreview(node, COMPONENT_LINK_DECORATOR, hasPreview, log);
487 wrongDecoratorInPreview(node, COMPONENT_PROP_DECORATOR, hasPreview, log);
489 ? updateSynchedPropertyOneWay(name, type, decorator, log, program)
490 : updateSynchedPropertyOneWayPU(name, type, decorator, log, program);
494 updateState = updateStoragePropAndLinkProperty(node, name, decorator, log);
498 ? updateSynchedPropertyNesedObject(name, type, decorator, log)
499 : updateSynchedPropertyNesedObjectPU(name, type, decorator, log);
502 wrongDecoratorInPreview(node, COMPONENT_CONSUME_DECORATOR, hasPreview, log);
506 updateState = updateBuilderParamProperty(node, name, log);
518 hasPreview: boolean, log: LogInfo[]) {
520 log.push({
599 log: LogInfo[], context: ts.TransformationContext): ts.ExpressionStatement {
604 node = createReference(node as ts.PropertyAssignment, log);
634 decoractor: string, log: LogInfo[], program: ts.Program): ts.ExpressionStatement {
640 validateNonSimpleType(nameIdentifier, decoractor, log);
645 decorator: string, log: LogInfo[]): ts.ExpressionStatement {
671 validateAppStorageDecoractorsNonSingleKey(node, log);
689 type: ts.TypeNode, decoractor: string, log: LogInfo[]): ts.ExpressionStatement {
694 validateNonObservedClassType(nameIdentifier, decoractor, log);
715 nameIdentifier: ts.Identifier, log: LogInfo[]): ts.ExpressionStatement {
718 log.push({
882 export function isSimpleType(typeNode: ts.TypeNode, program: ts.Program, log?: LogInfo[]): boolean {
892 return getDeclarationType(typeNode, checker, log);
895 function getDeclarationType(typeNode: ts.TypeNode, checker: ts.TypeChecker, log: LogInfo[]): boolea…
922 if (basicType && referenceType && log) {
923 validateVariableType(typeNode, log);
963 log: LogInfo[]): void {
965 validateDecoratorNonSingleKey(node.decorators[0].expression, log);
968 validateDecoratorNonSingleKey(node.decorators[0].expression.expression, log);
982 function validateMultiDecorators(name: ts.Identifier, log: LogInfo[]): void {
983 log.push({
991 log: LogInfo[]): void {
992 log.push({
1000 log: LogInfo[]): void {
1001 log.push({
1009 log: LogInfo[]): void {
1010 log.push({
1017 function validatePropertyNonType(propertyName: ts.Identifier, log: LogInfo[]): void {
1018 log.push({
1026 log: LogInfo[]): void {
1027 log.push({
1036 log: LogInfo[]): void {
1037 log.push({
1046 log: LogInfo[]): void {
1047 log.push({
1055 decorator: string, log: LogInfo[]): void {
1056 log.push({
1065 log: LogInfo[]): void {
1066 log.push({
1073 function validateDuplicateDecorator(decorator: ts.Decorator, log: LogInfo[]): void {
1074 log.push({
1082 function validateWatchDecorator(propertyName: ts.Identifier, length: number, log: LogInfo[]): boole…
1084 log.push({
1094 function validateWatchParam(type: LogType, pos: number, log: LogInfo[]): void {
1095 log.push({
1102 function validateVariableType(typeNode: ts.TypeNode, log: LogInfo[]): void {
1103 log.push({
1132 decoractor: string, log: LogInfo[], program: ts.Program): ts.ExpressionStatement {
1134 if (isSimpleType(type, program, log)) {
1144 type: ts.TypeNode, decoractor: string, log: LogInfo[]): ts.ExpressionStatement {
1149 validateNonObservedClassType(nameIdentifier, decoractor, log);
1153 function validateCustomDecorator(decorators: ts.NodeArray<ts.Decorator>, log: LogInfo[]): boolean {
1168 log.push({