(c: number)
| 748 | } |
| 749 | } |
| 750 | private stateInDynamicDirArg(c: number): void { |
| 751 | if (c === CharCodes.RightSquare) { |
| 752 | this.state = State.InDirArg |
| 753 | } else if (c === CharCodes.Eq || isEndOfTagSection(c)) { |
| 754 | this.cbs.ondirarg(this.sectionStart, this.index + 1) |
| 755 | this.handleAttrNameEnd(c) |
| 756 | if (__DEV__ || !__BROWSER__) { |
| 757 | this.cbs.onerr( |
| 758 | ErrorCodes.X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END, |
| 759 | this.index, |
| 760 | ) |
| 761 | } |
| 762 | } |
| 763 | } |
| 764 | private stateInDirModifier(c: number): void { |
| 765 | if (c === CharCodes.Eq || isEndOfTagSection(c)) { |
| 766 | this.cbs.ondirmodifier(this.sectionStart, this.index) |
no test coverage detected