Header menu logo FSharp.Formatting

CodeFormat Type

Provides a base class for formatting most programming languages.

Constructors

Constructor Description

CodeFormat()

Full Usage: CodeFormat()


            

Instance members

Instance member Description

this.CaseSensitive

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.

Returns: bool

this.CommentRegEx

Full Usage: this.CommentRegEx

Returns: string
Modifiers: abstract

Must be overridden to provide a regular expression string to match comments.

Returns: string

this.Keywords

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.

Returns: string

this.NumberRegEx

Full Usage: this.NumberRegEx

Returns: string
Modifiers: abstract

Can be overridden to provide a list of tokes to be recognized as numbers.

Returns: string

this.Operators

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.

Returns: string

this.Preprocessors

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.

Returns: string

this.StringRegEx

Full Usage: this.StringRegEx

Returns: string
Modifiers: abstract

Must be overridden to provide a regular expression string to match strings literals.

Returns: string

Type something to start searching.