File: test_regexrange1.java.texinfo

package info (click to toggle)
source-highlight 3.1.8-1.2~deb9u1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 10,224 kB
  • sloc: sh: 11,709; cpp: 10,226; ansic: 9,521; makefile: 1,902; lex: 1,200; yacc: 1,021; php: 213; perl: 211; awk: 98; erlang: 94; lisp: 90; java: 75; ruby: 69; python: 61; asm: 43; ada: 36; ml: 29; haskell: 27; xml: 23; cs: 11; sql: 8; tcl: 7; sed: 4
file content (30 lines) | stat: -rw-r--r-- 1,273 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@c Generator: GNU source-highlight, by Lorenzo Bettini, http://www.gnu.org/software/src-highlite
@example
@t{32:} @b{public} @b{class} Hello @{
@t{33:}     @b{int} foo = 1998 ;
@t{34:}     @b{int} hex_foo = 0xCAFEBABE;
@t{35:}     @b{boolean} b = @b{false};
@t{36:}     Integer i = @b{null} ;
@t{37:}     @b{char} c = @t{'}\'@t{'}, d = @t{'n'}, e = @t{'}\\@t{'} ;
@t{38:}     String xml = @t{"<tag attr=}\"@t{value}\"@t{>&auml;</tag>"}, foo2 = @t{"}\\@t{"} ;
@t{39:} 
@t{40:}     @r{@i{/* mymethod */}}
@t{41:}     @b{public} @b{void} mymethod(@b{int} i) @{
@t{42:}         @r{@i{// just a foo method}}
@t{43:}     @}
@t{44:}     @r{@i{/* mymethod */}}
@t{45:}    
@t{46:}     @r{@i{/* main */}}
@t{47:}     @b{public} @b{static} @b{void} main( String args[] ) @{
@t{48:}         @r{@i{// just some greetings ;-)  /*}}
@t{49:}         System.out.println( @t{"Hello from java2html :-)"} ) ;
@t{50:}         System.out.println( @t{"}\t@t{by Lorenzo Bettini"} ) ;
@t{51:}         System.out.println( @t{"}\t@t{http://www.lorenzobettini.it"} ) ;
@t{52:}         @b{if} (argc > 0)
@t{53:}             String param = argc[0];
@t{54:}         @r{@i{//System.out.println( "bye bye... :-D" ) ; // see you soon}}
@t{55:}     @}
@t{56:}     @r{@i{/* main */}}
@t{57:} @}

@end example