Home
last modified time | relevance | path

Searched refs:trailing_comment (Results 1 – 25 of 28) sorted by relevance

12

/dports/textproc/source-highlight/source-highlight-3.1.9/tests/
H A Dtest2.pl24 my $trailing_comment = qr#;\s*\#.*#;
56 s{$trailing_comment|\}}{\}}g; # remove trailing comments
57 s($trailing_comment|\))(\))g; # remove trailing comments
58 s<$trailing_comment|\>><\>>g; # remove trailing comments
59 s[$trailing_comment|\]][a\]b]g; # remove trailing comments
60 s|$trailing_comment\||a\|b|g; # remove trailing comments
61 s@$trailing_comment|(a\@b)@(bar\@)@g; # just for test
/dports/devel/py-prettyprinter/prettyprinter-0.18.0/prettyprinter/
H A Dprettyprinter.py188 trailing_comment = None
357 if trailing_comment:
362 trailing_comment=trailing_comment
369 sig.bind(value, ctx, trailing_comment=trailing_comment)
435 trailing_comment = None
446 if trailing_comment:
450 trailing_comment=trailing_comment
949 if trailing_comment:
1193 trailing_comment=trailing_comment
1271 if trailing_comment:
[all …]
H A D__init__.py24 trailing_comment,
/dports/math/octave/octave-6.4.0/libinterp/parse-tree/
H A Dpt-pr-code.cc245 print_indented_comment (cmd.trailing_comment ()); in visit_simple_for_command()
288 print_indented_comment (cmd.trailing_comment ()); in visit_complex_for_command()
365 print_indented_comment (fcn.trailing_comment ()); in visit_octave_user_function_trailer()
432 print_indented_comment (cmd.trailing_comment ()); in visit_if_command()
985 print_indented_comment (cmd.trailing_comment ()); in visit_try_catch_command()
1033 print_indented_comment (cmd.trailing_comment ()); in visit_unwind_protect_command()
1067 print_indented_comment (cmd.trailing_comment ()); in visit_while_command()
1096 print_indented_comment (cmd.trailing_comment ()); in visit_do_until_command()
H A Dpt-except.h80 comment_list * trailing_comment (void) { return m_trail_comm; } in trailing_comment() function
147 comment_list * trailing_comment (void) { return m_trail_comm; } in trailing_comment() function
H A Dpt-loop.h94 comment_list * trailing_comment (void) { return m_trail_comm; } in trailing_comment() function
218 comment_list * trailing_comment (void) { return m_trail_comm; } in trailing_comment() function
302 comment_list * trailing_comment (void) { return m_trail_comm; } in trailing_comment() function
H A Dpt-select.h147 comment_list * trailing_comment (void) { return m_trail_comm; } in trailing_comment() function
275 comment_list * trailing_comment (void) { return m_trail_comm; } in trailing_comment() function
H A Dpt-classdef.h297 comment_list * trailing_comment (void) { return m_trail_comm; } in trailing_comment() function
811 comment_list * trailing_comment (void) { return m_trail_comm; } in trailing_comment() function
/dports/textproc/augeas/augeas-1.12.0/lenses/tests/
H A Dtest_aptsources.aug61 let trailing_comment = "deb ftp://server/debian/ etch main # comment\n"
64 test Aptsources.lns put trailing_comment after
66 = trailing_comment
/dports/devel/py-prettyprinter/prettyprinter-0.18.0/prettyprinter/extras/
H A Ddjango.py14 trailing_comment
202 trailing_comment=commentstr or None,
219 trailing_comment(
/dports/devel/util-linux/util-linux-2.36/libmount/python/
H A Dtest_mount_tab.py87 if tb.trailing_comment:
88 print("Trailing comment:\n\"{:s}\"".format(tb.trailing_comment))
/dports/sysutils/linrename/util-linux-2.25.2/libmount/python/
H A Dtest_mount_tab.py87 if tb.trailing_comment:
88 print("Trailing comment:\n\"{:s}\"".format(tb.trailing_comment))
/dports/games/crrcsim/crrcsim-0.9.13/src/mod_fdm/formats/
H A Dairtoxml.cpp267 char trailing_comment[256]; in DotAirLoader() local
351 &parameter_value,trailing_comment)!=EOF) in DotAirLoader()
475 trailing_comment); in DotAirLoader()
547 trailing_comment); in DotAirLoader()
558 trailing_comment); in DotAirLoader()
569 trailing_comment); in DotAirLoader()
580 trailing_comment); in DotAirLoader()
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/tests/ui/
H A Dundocumented_unsafe_blocks.rs269 fn trailing_comment() { in trailing_comment() function
/dports/devel/py-prettyprinter/prettyprinter-0.18.0/tests/
H A Dtest_prettyprinter.py49 trailing_comment,
176 value = trailing_comment(value, comment_text)
/dports/devel/py-mypy/mypy-0.910/mypy/
H A Dstubgenc.py287 trailing_comment = " # read-only" if readonly else ""
289 '{}: ClassVar[{}] = ...{}'.format(name, inferred, trailing_comment)
/dports/math/octave/octave-6.4.0/libinterp/octave-value/
H A Dov-usr-fcn.h400 octave::comment_list * trailing_comment (void) { return trail_comm; } in trailing_comment() function
/dports/lang/gawk/gawk-5.1.1/
H A Dawkgram.y65 static INSTRUCTION *trailing_comment; variable
605 if (trailing_comment != NULL) {
606 $$ = list_append($$, trailing_comment);
607 trailing_comment = NULL;
635 trailing_comment = $3; // NULL or comment
5004 if (trailing_comment != NULL) { in mk_function()
5005 (void) list_append(def, trailing_comment); in mk_function()
5006 trailing_comment = NULL; in mk_function()
H A Dawkgram.c110 static INSTRUCTION *trailing_comment; variable
2439 if (trailing_comment != NULL) { in yyparse()
2440 yyval = list_append(yyval, trailing_comment); in yyparse()
2441 trailing_comment = NULL; in yyparse()
2485 trailing_comment = yyvsp[0]; // NULL or comment in yyparse()
7512 if (trailing_comment != NULL) { in mk_function()
7513 (void) list_append(def, trailing_comment); in mk_function()
7514 trailing_comment = NULL; in mk_function()
/dports/devel/ncurses/ncurses-6.3/progs/
H A Dtic.c1054 bool trailing_comment = FALSE; in main() local
1060 trailing_comment = TRUE; in main()
1066 if (trailing_comment in main()
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_ast_pretty-722.0.0/src/pprust/
H A Dstate.rs65 pub fn trailing_comment( in trailing_comment() method
2834 if let Some(cmnt) = cmnts.trailing_comment(span, next_pos) { in maybe_print_trailing_comment()
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_ast_pretty-718.0.0/src/pprust/
H A Dstate.rs65 pub fn trailing_comment( in trailing_comment() method
2835 if let Some(cmnt) = cmnts.trailing_comment(span, next_pos) { in maybe_print_trailing_comment()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_ast_pretty/src/pprust/
H A Dstate.rs65 pub fn trailing_comment( in trailing_comment() method
2906 if let Some(cmnt) = cmnts.trailing_comment(span, next_pos) { in maybe_print_trailing_comment()
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_ast_pretty/src/pprust/
H A Dstate.rs65 pub fn trailing_comment( in trailing_comment() method
2834 if let Some(cmnt) = cmnts.trailing_comment(span, next_pos) { in maybe_print_trailing_comment()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_hir_pretty/src/
H A Dlib.rs2414 if let Some(cmnt) = cmnts.trailing_comment(span, next_pos) { in maybe_print_trailing_comment()

12