-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile variable nodes into the Liquid::C::BlockBody VM code
- Loading branch information
1 parent
4c1e009
commit 6f561d6
Showing
13 changed files
with
729 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
#if !defined(LIQUID_VARIABLE_H) | ||
#define LIQUID_VARIABLE_H | ||
|
||
#include "vm_assembler.h" | ||
|
||
typedef struct variable_parse_args { | ||
const char *markup; | ||
const char *markup_end; | ||
vm_assembler_t *code; | ||
VALUE parse_context; | ||
unsigned int line_number; | ||
} variable_parse_args_t; | ||
|
||
void init_liquid_variable(void); | ||
void internal_variable_parse(variable_parse_args_t *parse_args); | ||
|
||
#endif | ||
|
Oops, something went wrong.