FileExtensionCommentSyntax

enum FileExtensionCommentSyntax : Enum<FileExtensionCommentSyntax>

The enumeration of file extensions and their associated comment syntax.

Author

Richard Arriaga

Entries

Link copied to clipboard

The Avail module (.avail) default comment syntax.

Link copied to clipboard

Comment support for bash files.

Link copied to clipboard

Comment support for Windows batch files.

Link copied to clipboard

Comment support for HTML files.

Link copied to clipboard

Comment support for HTML files alternate file extension, htm.

Link copied to clipboard

JSON does not support comments.

Link copied to clipboard

Markdown does not support comments.

Link copied to clipboard

Comment support for Python.

Link copied to clipboard

Comment support for XML files.

Link copied to clipboard

The system default for commenting unrecognized file extensions.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val blockComment: BlockComment?

The BlockComment for the associated extension or null if BlockComments are not supported.

Link copied to clipboard
val extension: String

The file extension that represents the file type that this FileExtensionCommentSyntax is associated with.

Link copied to clipboard
val lineComment: LineComment?

The LineComment for the associated extension or null if LineComments are not supported.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int