CodeFormat Type
Provides a base class for formatting most programming languages.
Constructors
Constructor |
Description
|
Full Usage:
CodeFormat()
|
|
Instance members
Instance member |
Description
|
Full Usage:
this.CaseSensitive
Returns: bool
Modifiers: abstract |
Determines if the language is case sensitive. A case-insensitive language formatter must override this property to return false.
|
Full Usage:
this.CommentRegEx
Returns: string
Modifiers: abstract |
Must be overridden to provide a regular expression string to match comments.
|
Full Usage:
this.Keywords
Returns: string
Modifiers: abstract |
Must be overridden to provide a list of keywords defined in each language. Keywords must be separated with spaces.
|
Full Usage:
this.NumberRegEx
Returns: string
Modifiers: abstract |
Can be overridden to provide a list of tokes to be recognized as numbers.
|
Full Usage:
this.Operators
Returns: string
Modifiers: abstract |
Must be overridden to provide a list of operators defined in each language. Operators must be separated with spaces.
|
Full Usage:
this.Preprocessors
Returns: string
Modifiers: abstract |
Can be overridden to provide a list of preprocessors defined in each language. Preprocessors must be separated with spaces.
|
Full Usage:
this.StringRegEx
Returns: string
Modifiers: abstract |
Must be overridden to provide a regular expression string to match strings literals.
|