Back to index

Public Member Functions | Public Attributes
language_rep Struct Reference

#include <language.hpp>

Inheritance diagram for language_rep:
Inheritance graph
Collaboration diagram for language_rep:
Collaboration graph

List of all members.

Public Member Functions

 language_rep (string s)
virtual text_property advance (tree t, int &pos)=0
virtual array< int > get_hyphens (string s)=0
virtual void hyphenate (string s, int after, string &l, string &r)=0
virtual string get_group (string s)
virtual array< stringget_members (string s)
virtual void highlight (tree t)
virtual string get_color (tree t, int start, int end)

Public Attributes

string lan_name
int hl_lan
string res_name

Detailed Description

Definition at line 111 of file language.hpp.

Constructor & Destructor Documentation

Definition at line 146 of file language.cpp.

  rep<language> (s), hl_lan (0) {}

Member Function Documentation

virtual text_property language_rep::advance ( tree  t,
int &  pos 
) [pure virtual]
string language_rep::get_color ( tree  t,
int  start,
int  end 
) [virtual]

Reimplemented in cpp_language_rep, mathemagix_language_rep, scheme_language_rep, and verb_language_rep.

Definition at line 168 of file language.cpp.

  (void) t; (void) start; (void) end;
  return "";

Reimplemented in math_language_rep.

Definition at line 150 of file language.cpp.

  (void) s;
  return "default";
virtual array<int> language_rep::get_hyphens ( string  s) [pure virtual]

Reimplemented in math_language_rep.

Definition at line 156 of file language.cpp.

  (void) s;
  return array<string> ();
void language_rep::highlight ( tree  t) [virtual]

Definition at line 162 of file language.cpp.

  if (hl_lan != 0 && !has_highlight (t, hl_lan))
    packrat_highlight (res_name, "Main", t);

Here is the call graph for this function:

virtual void language_rep::hyphenate ( string  s,
int  after,
string l,
string r 
) [pure virtual]

Member Data Documentation

Definition at line 113 of file language.hpp.

Definition at line 112 of file language.hpp.

string rep< language >::res_name [inherited]

Definition at line 17 of file resource.hpp.

The documentation for this struct was generated from the following files: