A
download HFile_awk.pm
Language: Perl
LOC: 100
Project Info
Perl_SVN
Server: OSDevel
Type: svn
...k\modules\beautifier\HFile\
   HFile_4dos4nt.pm
   HFile_4gl.pm
   HFile_6502.pm
   HFile_6809.pm
   HFile_abb.pm
   HFile_acl.pm
   HFile_acpi.pm
   HFile_ada95.pm
   HFile_adsp2181.pm
   HFile_ahdl.pm
   HFile_alphascript.pm
   HFile_aml.pm
   HFile_ampl.pm
   HFile_amtrix.pm
   HFile_ansys.pm
   HFile_apdl.pm
   HFile_arm.pm
   HFile_asm_x86.pm
   HFile_asm167.pm
   HFile_asm2106.pm
   HFile_asm21xx.pm
   HFile_asm515c.pm
   HFile_asm6502.pm
   HFile_asm68hc11.pm
   HFile_asm68hc908.pm
   HFile_asm75.pm
   HFile_asm8051.pm
   HFile_asmavr.pm
   HFile_asmdsp56k.pm
   HFile_asmf240.pm
   HFile_asmh8s.pm
   HFile_asmmpc860.pm
   HFile_asmrds500.pm
   HFile_asms370.pm
   HFile_asmz80.pm
   HFile_aspjscript.pm
   HFile_aspvb.pm
   HFile_aspvbhtml.pm
   HFile_aspvbscript.pm
   HFile_autolisp.pm
   HFile_avenue.pm
   HFile_awk.pm
   HFile_baan3.pm
   HFile_baanc.pm
   HFile_baanerp.pm
   HFile_bash.pm
   HFile_batch.pm
   HFile_bibtex.pm
   HFile_bkm.pm
   HFile_bkshell.pm
   HFile_bm.pm
   HFile_c-winapi.pm
   HFile_c.pm
   HFile_c167complink.pm
   HFile_caopenroad401.pm
   HFile_carealizer20.pm
   HFile_cf45.pm
   HFile_cfm45.pm
   HFile_clarion.pm
   HFile_clariontemplate.pm
   HFile_clearbasic.pm
   HFile_clipper.pm
   HFile_clips.pm
   HFile_cobol.pm
   HFile_coldfusion431.pm
   HFile_config.pm
   HFile_corba.pm
   HFile_cpp.pm
   HFile_cppheader.pm
   HFile_cppsource.pm
   HFile_csharp.pm
   HFile_css.pm
   HFile_cuesheet.pm
   HFile_dataflex.pm
   HFile_db4web.pm
   HFile_dbc.pm
   HFile_dcal.pm
   HFile_delphi.pm
   HFile_dibol.pm
   HFile_directives.pm
   HFile_dosbatch.pm
   HFile_dsp5600.pm
   HFile_dtd.pm
   HFile_dxl.pm
   HFile_eiffel.pm
   HFile_epld.pm
   HFile_escript.pm
   HFile_esprit.pm
   HFile_euphoria.pm
   HFile_express.pm
   HFile_fame.pm
   HFile_fas.pm
   HFile_flagship.pm
   HFile_flisp.pm
   HFile_focus.pm
   HFile_fortran90.pm
   HFile_foxpro.pm
   HFile_foxpro26.pm
   HFile_foxpro6.pm
   HFile_framescript.pm
   HFile_gdl.pm
   HFile_ged2html.pm
   HFile_gedcom.pm
   HFile_hamster.pm
   HFile_hartddl.pm
   HFile_haskell.pm
   HFile_html.pm
   HFile_htmlphpsql.pm
   HFile_hugo.pm
   HFile_i4gl.pm
   HFile_ib_sql.pm
   HFile_ibis.pm
   HFile_ibmnetdata.pm
   HFile_idl.pm
   HFile_inform.pm
   HFile_inform6.pm
   HFile_ini.pm
   HFile_installshield.pm
   HFile_jasmin.pm
   HFile_java.pm
   HFile_javascript-wmls.pm
   HFile_javascript.pm
   HFile_javaswing.pm
   HFile_javatimeiq.pm
   HFile_jg_mac.pm
   HFile_jhtml.pm
   HFile_jscript.pm
   HFile_jsp.pm
   HFile_kixtart.pm
   HFile_latex.pm
   HFile_ldap.pm
   HFile_ldif.pm
   HFile_lingo.pm
   HFile_linker.pm
   HFile_lisp.pm
   HFile_logic.pm
   HFile_lotusscript.pm
   HFile_lpc.pm
   HFile_lumonics.pm
   HFile_makefile.pm
   HFile_map.pm
   HFile_mapbasic.pm
   HFile_masm.pm
   HFile_mason.pm
   HFile_mathml.pm
   HFile_matlab5.pm
   HFile_maxscript.pm
   HFile_maya.pm
   HFile_me10macro.pm
   HFile_microchp.pm
   HFile_millg.pm
   HFile_mincdsl.pm
   HFile_miva.pm
   HFile_modula.pm
   HFile_modula2.pm
   HFile_motivemaps.pm
   HFile_msgbuilder.pm
   HFile_mssql7.pm
   HFile_mudmaster.pm
   HFile_mumps.pm
   HFile_mysql.pm
   HFile_nc.pm
   HFile_netcdf.pm
   HFile_neuronc.pm
   HFile_nfl.pm
   HFile_nt_cmd.pm
   HFile_ocaml.pm
   HFile_oemsetup.pm
   HFile_omnimark.pm
   HFile_openroad.pm
   HFile_opl.pm
   HFile_palmrsc.pm
   HFile_paradox.pm
   HFile_pascal.pm
   HFile_passport.pm
   HFile_patrol.pm
   HFile_pbasic.pm
   HFile_pearl.pm
   HFile_peoplesoftsqr.pm
   HFile_perl.pm
   HFile_php3.pm
   HFile_phphtml.pm
   HFile_pl1.pm
   HFile_pli.pm
   HFile_plm.pm
   HFile_plsql.pm
   HFile_postscript.pm
   HFile_powerbuilder7.pm
   HFile_progress83.pm
   HFile_providex.pm
   HFile_python.pm
   HFile_qbasic.pm
   HFile_quake.pm
   HFile_realpix.pm
   HFile_realtext.pm
   HFile_rebol.pm
   HFile_rexx.pm
   HFile_rmanint.pm
   HFile_rmanshader.pm
   HFile_rtf.pm
   HFile_s.pm
   HFile_sacs4.pm
   HFile_sap.pm
   HFile_sas.pm
   HFile_scenix.pm
   HFile_scheme.pm
   HFile_searchscript.pm
   HFile_sgml.pm
   HFile_smil.pm
   HFile_spin.pm
   HFile_sqlnew.pm
   HFile_sqr.pm
   HFile_sybase11x.pm
   HFile_sysedge.pm
   HFile_systempolicies.pm
   HFile_tcltk.pm
   HFile_teradatasql.pm
   HFile_tsql.pm
   HFile_turboc.pm
   HFile_turbopascal.pm
   HFile_uemacro.pm
   HFile_ugapt.pm
   HFile_uniface6.pm
   HFile_uniface71.pm
   HFile_uniface72.pm
   HFile_ustnbasic.pm
   HFile_vb.pm
   HFile_vbdotnet.pm
   HFile_vbscript.pm
   HFile_verify.pm
   HFile_verilog.pm
   HFile_veritystyle.pm
   HFile_veritytopic.pm
   HFile_vhdl.pm
   HFile_visdialog.pm
   HFile_vospl1.pm
   HFile_vrml.pm
   HFile_vtml.pm
   HFile_wap.pm
   HFile_wapscript.pm
   HFile_wdl.pm
   HFile_wil.pm
   HFile_winbatch.pm
   HFile_winrex.pm
   HFile_wml.pm
   HFile_xhtml10.pm
   HFile_xhtml11.pm
   HFile_xhtmlbasic.pm
   HFile_xml.pm
   HFile_xsl.pm
   HFile_zmud.pm

package modules::beautifier::HFile::HFile_awk;

###############################
#
# Beautifier Perl HFile
# Language: AWK Script
#
###############################

use modules::beautifier::Beautifier::HFile;
@ISA = qw(HFile);
sub new {
  my( $class ) = @_;
  my $self = {};
  bless $self, $class;

  # Flags:
  $self->{nocase}           = "0";
  $self->{notrim}           = "1";
  $self->{perl}             = "0";
  $self->{indent}           = ["{"];
  $self->{unindent}         = ["}"];
  $self->{stringchars}      = ["\"", "'"];
  $self->{delimiters}       = ["~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", "	", ".", "?"];
  $self->{escchar}          = "";
  $self->{linecommenton}    = ["#"];
  $self->{blockcommenton}   = [];
  $self->{blockcommentoff}  = [];
  $self->{keywords}         = {
      "atan2" => "1", 
      "break" => "1", 
      "BEGIN" => "1", 
      "close" => "1", 
      "continue" => "1", 
      "cos" => "1", 
      "delete" => "1", 
      "do" => "1", 
      "else" => "1", 
      "exp" => "1", 
      "exit" => "1", 
      "END" => "1", 
      "for" => "1", 
      "function" => "1", 
      "getline" => "1", 
      "gsub" => "1", 
      "if" => "1", 
      "index" => "1", 
      "int" => "1", 
      "length" => "1", 
      "local" => "1", 
      "log" => "1", 
      "match" => "1", 
      "next" => "1", 
      "print" => "1", 
      "printf" => "1", 
      "rand" => "1", 
      "return" => "1", 
      "sin" => "1", 
      "split" => "1", 
      "sprintf" => "1", 
      "sqrt" => "1", 
      "srand" => "1", 
      "sub" => "1", 
      "substr" => "1", 
      "system" => "1", 
      "tolower" => "1", 
      "toupper" => "1", 
      "while" => "1", 
      "ARGC" => "2", 
      "ARGV" => "2", 
      "CONVFMT" => "2", 
      "ENVIRON" => "2", 
      "FILENAME" => "2", 
      "FNR" => "2", 
      "FS" => "2", 
      "NF" => "2", 
      "NR" => "2", 
      "OFMT" => "2", 
      "OFS" => "2", 
      "ORS" => "2", 
      "RLENGTH" => "2", 
      "RS" => "2", 
      "RSTART" => "2", 
      "SUBSEP" => "2", 
      "+" => "4", 
      "-" => "4", 
      "=" => "4", 
      "//" => "4", 
      "/" => "4", 
      "%" => "4", 
      "&" => "4", 
      ">" => "4", 
      "<" => "4", 
      "^" => "4", 
      "!" => "4", 
      "|" => "4", 
      '$' => "4", 
      "*" => "4"};

  # Each category can specify a Perl function that takes in the function name, and returns a string
  # to put in its place. This can be used to generate links, images, etc.

  $self->{linkscripts} = {
      "1"  => "donothing", 
      "2"  => "donothing",
      "3"  => "donothing",
      "4"  => "donothing"};
  return $self;
}

# DoNothing link function

sub donothing {
  my ( $self ) = @_;
  return;
}

1;

About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us