Lines Matching full:foo*
597 foo(arg: string): string {
598 console.info('foo arg is ' + arg);
610 let result = asp.foo('123');
611 // Output: foo arg is 123
617 util.Aspect.addBefore(MyClass, 'foo', false, (instance: MyClass, arg: string) => {
623 result = asp.foo('123');
626 // Output: foo arg is 123
689 foo(arg: string): string {
690 console.info('foo arg is ' + arg);
696 let result = asp.foo('123');
697 // Output: foo arg is 123
703 util.Aspect.addAfter(MyClass, 'foo', false, (instance: MyClass, ret: string, arg: string): string => {
711 result = asp.foo('123');
712 // Output: foo arg is 123
723 foo(arg: string) {
724 console.info('execute foo with arg ' + arg);
727 util.Aspect.addBefore(AroundTest, 'foo', false, () => {
730 util.Aspect.addAfter(AroundTest, 'foo', false, () => {
734 (new AroundTest()).foo('hello');
736 // Output: execute foo with arg hello
772 foo(arg: string): string {
773 console.info('foo arg is ' + arg);
779 let result = asp.foo('123');
780 // Output: foo arg is 123
786 util.Aspect.replace(MyClass, 'foo', false, (instance: MyClass, arg: string): string => {
794 result = asp.foo('123');
796 // Output: foo arg is 123
3748 function foo() {
3752 let f = foo();
4112 export function* foo() {}
4116 import { foo } from './test'
4119 let result = type.isGeneratorFunction(foo);
4151 function* foo() {}
4152 export const generator = foo();
4583 let result = type.isStringObject(new String('foo'));
4615 export const symbols = Symbol('foo');