Class l2df.class.parser.lffs
deprecated
Parser for LittleFighterForever syntax.
Inherited from l2df.class.parser.DatParser class.
Info:
- Copyright: Atom-TM 2019
- Author: Abelidze
Functions
LffsParser:parse(str[, obj]) | Method for parsing lffs formatted string. |
LffsParser:parseArguments(str, from, to) | Method for parsing arguments from string on defined range. |
LffsParser:scan(path) | Method for loading markup elements' classes. |
LffsParser:add(element) | Method for adding new element to parser's engine. |
LffsParser:dump(data) | Method for dumping table to lffs format. |
Functions
Methods- LffsParser:parse(str[, obj])
-
Method for parsing lffs formatted string.
You can extend existing object by passing it as second parameter.
Parameters:
Returns:
- LffsParser:parseArguments(str, from, to)
-
Method for parsing arguments from string on defined range.
Parameters:
- str string Source string.
- from number Start index.
- to number End index.
Returns:
- table
- number
- LffsParser:scan(path)
-
Method for loading markup elements' classes.
Parameters:
- path string Path to the classes' directory.
- LffsParser:add(element)
-
Method for adding new element to parser's engine.
Parameters:
Returns:
-
boolean
- LffsParser:dump(data)
-
Method for dumping table to lffs format.
Parameters:
- data table Table for dumping.
Returns: