HamlGenerator Methods
From HttpServer.dll
The HamlGenerator type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CheckIntendation | Overloaded. | |
| CheckMultiLine |
check if current line is a multiline
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GenerateCode |
Generate C# code from the template.
| |
| GenerateHtml |
Generate html code from the template.
Code is encapsed in <% and <%=
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetWord |
Get the first word (letters and digits only) from the specified offset.
| |
| HandlePlacement |
Check indentation / node placement
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Parse | Overloaded. | |
| ParseNode |
Parse a node
//todo: improve doc
| |
| PreParse |
PreParse goes through the text add handles intendation
and all multiline cases.
| |
| PrintDocument |
print the entire document
| |
| PrintNode |
Print line information to the console
| |
| ReadLine |
Read next line from file
| |
| Spaces |
Generates a string with spaces.
| |
| ToString | (Inherited from Object.) |