ILanguageDriver.IBlockInfo Interface
- public static interface ILanguageDriver.IBlockInfo
Summary of the information gathered by the ILanguageDriver.IBlockInfo.findMatchingOpenBlock(int, char)
or ILanguageDriver.IBlockInfo.findMatchingCloseBlock(int, char)
methods.
-
All Known Implementing Classes
-
DefaultLanguageDriver.BlockInfo
-
Enclosing interface
-
ILanguageDriver
public static final int |
-
TYPE_MISMATCHED
- Indicates that the block is not well formed.
|
public static final int |
-
TYPE_SIMPLE
- Simple block type, e.g. () or [] in Java/C++/C.
|
public static final int |
-
TYPE_STRUCTURE
- Structural block type, e.g. {} in Java/C++, in HTML.
|
TYPE_MISMATCHED
public static final int TYPE_MISMATCHED
- Indicates that the block is not well formed.
Usually, either the open or close delimeter is missing.
May also be caused when a child block is malformed.
TYPE_SIMPLE
public static final int TYPE_SIMPLE
- Simple block type, e.g. () or [] in Java/C++/C.
TYPE_STRUCTURE
public static final int TYPE_STRUCTURE
- Structural block type, e.g. {} in Java/C++, in HTML.
getCloseDelim() Method
public ILanguageDriver.IBlockDelim
getCloseDelim()
Returns the closing ILanguageDriver.IBlockDelim
of the block.
getOpenDelim() Method
public ILanguageDriver.IBlockDelim
getOpenDelim()
Returns the opening ILanguageDriver.IBlockDelim
of the block.
getType() Method
public int getType()
Returns one of the constants:
ILanguageDriver.IBlockInfo.TYPE_MISMATCHED
ILanguageDriver.IBlockInfo.TYPE_SIMPLE
ILanguageDriver.IBlockInfo.TYPE_STRUCTURE
isMismatched() Method
public boolean isMismatched()