Home
Categories
Dictionary
Download
Project Details
Changes Log
License

Syntax



The Syntax class represents one Syntax. This class has the following attributes:

Syntax type

The Syntax.getSyntaxType() method returns the type of the syntax. The possible types are:

Formatting type

The Syntax.getFormattingType() method returns the type of the formatting. The possible formatting types are: By default the formatting is derived from the syntax type:
Some markup files can have a manual formatting. This is for example the case for "turtle" files. Note that this attribute is not used in this library, but it can be useful for code which uses it.

Creating a TokenMarker

Main Article: TokenMarker

The Syntax.createTokenMarker() method creates a TokenMarker from the Syntax.

See also


Categories: Syntax

Copyright 2016-2019 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence

Project Web Hosted by SourceForge.net Copyright 1999-2010 - Geeknet, Inc., All Rights Reserved About - Legal - Help