mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-07 13:25:18 +02:00
[WIP] Refactor to NPM workspaces (#104)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
export type FnArg = {
|
||||
name: string;
|
||||
value: Val;
|
||||
};
|
||||
export type Token = {
|
||||
"type": "raw";
|
||||
text: string;
|
||||
} | {
|
||||
"type": "tag";
|
||||
val: Val;
|
||||
} | {
|
||||
"type": "eof";
|
||||
};
|
||||
export type Tokens = {
|
||||
tokens: Array<Token>;
|
||||
};
|
||||
export type Val = {
|
||||
"type": "str";
|
||||
text: string;
|
||||
} | {
|
||||
"type": "var";
|
||||
name: string;
|
||||
} | {
|
||||
"type": "bool";
|
||||
value: boolean;
|
||||
} | {
|
||||
"type": "fn";
|
||||
name: string;
|
||||
args: Array<FnArg>;
|
||||
} | {
|
||||
"type": "null";
|
||||
};
|
||||
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
Reference in New Issue
Block a user