parser/parse
@hashml/hashml › Globals › "parser/parse"
Index
Functions
Functions
makeParser
▸ makeParser(schema
: SchemaDefinition, logger
: ErrorLogger): function
Defined in parser/parse.ts:8
Parameters:
Name | Type |
---|---|
schema | SchemaDefinition |
logger | ErrorLogger |
Returns: function
▸ (input
: string): IRNode
Parameters:
Name | Type |
---|---|
input | string |
parse
▸ parse(input
: string, schema
: SchemaDefinition, logger
: ErrorLogger): IRNode
Defined in parser/parse.ts:21
Parameters:
Name | Type |
---|---|
input | string |
schema | SchemaDefinition |
logger | ErrorLogger |
Returns: IRNode