DBA Data[Home] [Help]

APPS.BIS_VG_PARSER dependencies on BIS_DEBUG_PUB

Line 41: BIS_DEBUG_PUB.Add ('> put_blanks');

37: IS
38: l_temp VARCHAR2(2000);
39: l_str VARCHAR2(2000);
40: BEGIN
41: BIS_DEBUG_PUB.Add ('> put_blanks');
42: -- BIS_DEBUG_PUB.Add ('begin string is '||p_string);
43: -- BIS_DEBUG_PUB.Add ('start_num = '||start_num||' end num = '||end_num);
44: --
45: FOR j IN start_num .. end_num loop

Line 42: -- BIS_DEBUG_PUB.Add ('begin string is '||p_string);

38: l_temp VARCHAR2(2000);
39: l_str VARCHAR2(2000);
40: BEGIN
41: BIS_DEBUG_PUB.Add ('> put_blanks');
42: -- BIS_DEBUG_PUB.Add ('begin string is '||p_string);
43: -- BIS_DEBUG_PUB.Add ('start_num = '||start_num||' end num = '||end_num);
44: --
45: FOR j IN start_num .. end_num loop
46: l_temp := l_temp || ' ';

Line 43: -- BIS_DEBUG_PUB.Add ('start_num = '||start_num||' end num = '||end_num);

39: l_str VARCHAR2(2000);
40: BEGIN
41: BIS_DEBUG_PUB.Add ('> put_blanks');
42: -- BIS_DEBUG_PUB.Add ('begin string is '||p_string);
43: -- BIS_DEBUG_PUB.Add ('start_num = '||start_num||' end num = '||end_num);
44: --
45: FOR j IN start_num .. end_num loop
46: l_temp := l_temp || ' ';
47: END LOOP;

Line 56: -- BIS_DEBUG_PUB.Add ('end string is '||l_str);

52: IF (end_num < Length(p_string)) THEN
53: l_temp := Substr(p_string, end_num + 1, Length(p_string));
54: l_str := l_str||l_temp;
55: END IF;
56: -- BIS_DEBUG_PUB.Add ('end string is '||l_str);
57: BIS_DEBUG_PUB.Add ('< put_blanks ');
58: RETURN l_str;
59:
60:

Line 57: BIS_DEBUG_PUB.Add ('< put_blanks ');

53: l_temp := Substr(p_string, end_num + 1, Length(p_string));
54: l_str := l_str||l_temp;
55: END IF;
56: -- BIS_DEBUG_PUB.Add ('end string is '||l_str);
57: BIS_DEBUG_PUB.Add ('< put_blanks ');
58: RETURN l_str;
59:
60:
61: EXCEPTION

Line 99: BIS_DEBUG_PUB.Add('> replace_comments_with_blanks');

95: l_first BOOLEAN := TRUE;
96: l_open_pos NUMBER;
97: l_close_pos NUMBER;
98: BEGIN
99: BIS_DEBUG_PUB.Add('> replace_comments_with_blanks');
100: x_return_status := FND_API.G_RET_STS_SUCCESS;
101: l_string := p_string;
102:
103: -- l_start_pos := Instr(l_string, '--');

Line 168: BIS_DEBUG_PUB.Add('< replace_comments_with_blanks');

164: x_in_comment := FALSE;
165: END IF;
166: END IF;
167: END LOOP;
168: BIS_DEBUG_PUB.Add('< replace_comments_with_blanks');
169: RETURN l_string;
170:
171:
172: EXCEPTION

Line 209: BIS_DEBUG_PUB.Add ('> Get_Keyword_Position ');

205: l_temp VARCHAR2(2000);
206: l_pointer bis_vg_types.view_character_pointer_type := NULL;
207: l_in_comment BOOLEAN := FALSE;
208: BEGIN
209: BIS_DEBUG_PUB.Add ('> Get_Keyword_Position ');
210: total_rows := p_view_table.COUNT;
211: --
212: bis_vg_util.print_view_pointer(p_start_pointer, x_return_status, x_error_Tbl);
213: --

Line 215: BIS_DEBUG_PUB.Add ('string set '||i||' is '||p_string_set(i));

211: --
212: bis_vg_util.print_view_pointer(p_start_pointer, x_return_status, x_error_Tbl);
213: --
214: FOR i IN 1 .. p_string_set.COUNT LOOP
215: BIS_DEBUG_PUB.Add ('string set '||i||' is '||p_string_set(i));
216: END LOOP;
217:
218: l_min_pos := g_max_number;
219: l_pos := 0;

Line 237: BIS_DEBUG_PUB.Add ('string is '||l_string);

233: );
234: END IF;
235: END IF;
236: --
237: BIS_DEBUG_PUB.Add ('string is '||l_string);
238: -- REPLACE ALL the comments WITH blanks
239: l_string := replace_comments_with_blanks( l_string
240: , l_in_comment
241: , l_in_comment

Line 248: BIS_DEBUG_PUB.Add ('comparing string is '||p_string_set(j));

244: );
245: --
246: -- find the earliest occuring string
247: FOR j IN 1 .. p_string_set.COUNT LOOP
248: BIS_DEBUG_PUB.Add ('comparing string is '||p_string_set(j));
249: l_pos := Instr(Upper(l_string), Upper(p_string_set(j)));
250: --
251: BIS_DEBUG_PUB.Add ('string occurrence at '||l_pos);
252: IF (l_pos <> 0) THEN

Line 251: BIS_DEBUG_PUB.Add ('string occurrence at '||l_pos);

247: FOR j IN 1 .. p_string_set.COUNT LOOP
248: BIS_DEBUG_PUB.Add ('comparing string is '||p_string_set(j));
249: l_pos := Instr(Upper(l_string), Upper(p_string_set(j)));
250: --
251: BIS_DEBUG_PUB.Add ('string occurrence at '||l_pos);
252: IF (l_pos <> 0) THEN
253: IF (l_pos < l_min_pos) THEN
254: BIS_DEBUG_PUB.Add ('l_pos '||l_pos||
255: ' less than l_min '|| l_min_pos);

Line 254: BIS_DEBUG_PUB.Add ('l_pos '||l_pos||

250: --
251: BIS_DEBUG_PUB.Add ('string occurrence at '||l_pos);
252: IF (l_pos <> 0) THEN
253: IF (l_pos < l_min_pos) THEN
254: BIS_DEBUG_PUB.Add ('l_pos '||l_pos||
255: ' less than l_min '|| l_min_pos);
256: l_min_pos := l_pos;
257: END IF;
258: END IF;

Line 261: BIS_DEBUG_PUB.Add ('l_min is '||l_min_pos);

257: END IF;
258: END IF;
259: END LOOP;
260:
261: BIS_DEBUG_PUB.Add ('l_min is '||l_min_pos);
262:
263: -- we found the string. set up the end pointer and return
264: IF (l_min_pos <> g_max_number) THEN
265: l_pointer.row_num := i;

Line 267: BIS_DEBUG_PUB.Add ('returning with a valid pointer');

263: -- we found the string. set up the end pointer and return
264: IF (l_min_pos <> g_max_number) THEN
265: l_pointer.row_num := i;
266: l_pointer.col_num := l_min_pos;
267: BIS_DEBUG_PUB.Add ('returning with a valid pointer');
268: bis_vg_util.print_view_pointer(l_pointer, x_return_status, x_error_Tbl);
269: BIS_DEBUG_PUB.Add ('< Get_Keyword_Position');
270: RETURN l_pointer;
271: END IF;

Line 269: BIS_DEBUG_PUB.Add ('< Get_Keyword_Position');

265: l_pointer.row_num := i;
266: l_pointer.col_num := l_min_pos;
267: BIS_DEBUG_PUB.Add ('returning with a valid pointer');
268: bis_vg_util.print_view_pointer(l_pointer, x_return_status, x_error_Tbl);
269: BIS_DEBUG_PUB.Add ('< Get_Keyword_Position');
270: RETURN l_pointer;
271: END IF;
272:
273: END LOOP;

Line 275: BIS_DEBUG_PUB.Add ('< Get_Keyword_Position');

271: END IF;
272:
273: END LOOP;
274: bis_vg_util.print_view_pointer(l_pointer, x_return_status, x_error_Tbl);
275: BIS_DEBUG_PUB.Add ('< Get_Keyword_Position');
276: RETURN l_pointer;
277:
278: EXCEPTION
279: when FND_API.G_EXC_ERROR then

Line 317: BIS_DEBUG_PUB.Add('> get_string_token');

313: l_total NUMBER;
314: l_pos NUMBER := 0;
315: l_delimiters VARCHAR2(100);
316: BEGIN
317: BIS_DEBUG_PUB.Add('> get_string_token');
318: x_return_status := FND_API.G_RET_STS_SUCCESS;
319:
320: l_start := p_start;
321: l_total := Length(p_view_str);

Line 330: BIS_DEBUG_PUB.Add('l_char = '||l_char||' l_pos = '||l_pos);

326: AND x_end_pointer <= l_total) LOOP
327:
328: l_char := Substr(p_view_str, x_end_pointer, 1);
329: l_pos := Instr(l_delimiters, Upper(l_char));
330: BIS_DEBUG_PUB.Add('l_char = '||l_char||' l_pos = '||l_pos);
331: IF (l_pos = 0) then
332: x_end_pointer := x_end_pointer + 1;
333: END IF;
334: END LOOP;

Line 348: BIS_DEBUG_PUB.Add('l_char = '||l_char||' l_pos = '||l_pos);

344: AND x_end_pointer <= l_total) LOOP
345:
346: l_char := Substr(p_view_str, x_end_pointer, 1);
347: l_pos := Instr(l_delimiters, Upper(l_char));
348: BIS_DEBUG_PUB.Add('l_char = '||l_char||' l_pos = '||l_pos);
349: IF (l_pos <> 0) then
350: x_end_pointer := x_end_pointer + 1;
351: END IF;
352: END LOOP;

Line 355: BIS_DEBUG_PUB.Add('< get_string_token');

351: END IF;
352: END LOOP;
353: END IF;
354:
355: BIS_DEBUG_PUB.Add('< get_string_token');
356: RETURN l_str;
357:
358:
359: EXCEPTION

Line 396: BIS_DEBUG_PUB.Add('> get_token');

392: l_char VARCHAR2(1);
393: l_pos NUMBER := 0;
394: l_delimiters VARCHAR2(100);
395: BEGIN
396: BIS_DEBUG_PUB.Add('> get_token');
397: x_return_status := FND_API.G_RET_STS_SUCCESS;
398: l_temp := NULL;
399: BIS_VG_UTIL.print_view_pointer(p_start_pointer, x_return_status, x_error_Tbl);
400: x_end_pointer := p_start_pointer;

Line 409: BIS_DEBUG_PUB.Add('l_char = '||l_char||' l_pos = '||l_pos);

405: , x_return_status
406: , x_error_Tbl
407: );
408: l_pos := Instr(l_delimiters, Upper(l_char));
409: BIS_DEBUG_PUB.Add('l_char = '||l_char||' l_pos = '||l_pos);
410: IF (l_pos = 0) then
411: x_end_pointer := BIS_VG_UTIL.increment_pointer( p_view_table
412: , x_end_pointer
413: , x_return_status

Line 422: BIS_DEBUG_PUB.Add('out of loop');

418: , x_return_status
419: , x_error_Tbl
420: );
421: end loop;
422: BIS_DEBUG_PUB.Add('out of loop');
423: l_temp := bis_vg_util.get_string( p_view_table
424: , p_start_pointer
425: , x_end_pointer
426: , x_return_status

Line 430: BIS_DEBUG_PUB.Add('< get_token');

426: , x_return_status
427: , x_error_Tbl
428: );
429: BIS_VG_UTIL.print_view_pointer(x_end_pointer, x_return_status, x_error_Tbl);
430: BIS_DEBUG_PUB.Add('< get_token');
431: RETURN l_temp;
432:
433:
434: EXCEPTION

Line 471: BIS_DEBUG_PUB.Add('> get_token_increment_pointer');

467: l_pos NUMBER := 1;
468: l_delimiters VARCHAR2(100);
469: BEGIN
470:
471: BIS_DEBUG_PUB.Add('> get_token_increment_pointer');
472: x_return_status := FND_API.G_RET_STS_SUCCESS;
473: BIS_VG_UTIL.print_View_Pointer(p_start_pointer, x_return_status, x_error_Tbl);
474: l_temp := get_token( p_view_table
475: , p_start_pointer

Line 498: BIS_DEBUG_PUB.Add('< get_token_increment_pointer');

494: , x_error_Tbl
495: );
496: END IF;
497: end loop;
498: BIS_DEBUG_PUB.Add('< get_token_increment_pointer');
499: RETURN l_temp;
500:
501:
502: EXCEPTION

Line 540: BIS_DEBUG_PUB.Add('> get_expression');

536: l_str VARCHAR2(2000);
537: l_delimiter VARCHAR2(1) := '''';
538: l_temp_pointer bis_vg_types.View_Character_Pointer_Type;
539: BEGIN
540: BIS_DEBUG_PUB.Add('> get_expression');
541: x_return_status := FND_API.G_RET_STS_SUCCESS;
542: x_end_pointer := p_start_pointer;
543: WHILE (l_done = FALSE) LOOP
544: -- find the single quote incrementing the pointer

Line 580: BIS_DEBUG_PUB.Add('< get_expression');

576: );
577:
578: END IF;
579: END LOOP;
580: BIS_DEBUG_PUB.Add('< get_expression');
581: RETURN bis_vg_util.get_string ( p_view_table
582: , p_start_pointer
583: , x_end_pointer
584: , x_return_status

Line 623: BIS_DEBUG_PUB.Add('> skip_tag');

619: IS
620: l_str VARCHAR2(100);
621: BEGIN
622: -- get the tag
623: BIS_DEBUG_PUB.Add('> skip_tag');
624: x_return_status := FND_API.G_RET_STS_SUCCESS;
625: l_str := bis_vg_parser.get_token_increment_pointer( p_view_table
626: , p_start_pointer
627: , ':'

Line 632: BIS_DEBUG_PUB.Add('< skip_tag');

628: , x_end_pointer
629: , x_return_status
630: , x_error_Tbl
631: );
632: BIS_DEBUG_PUB.Add('< skip_tag');
633: RETURN l_str;
634:
635:
636: EXCEPTION