diff --git a/core/node.ts b/core/node.ts index d7ad106..5cbb496 100644 --- a/core/node.ts +++ b/core/node.ts @@ -1,3 +1,22 @@ +/** + * Copyright (C) 2022, Dmitriy Pleshevskiy + * + * This file is part of Paren + * + * Paren is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Paren is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Paren. If not, see . + */ + import { Nilable } from "./utils.ts"; export type Attrs = Record; diff --git a/core/utils.ts b/core/utils.ts index c4bfcbc..adfe64a 100644 --- a/core/utils.ts +++ b/core/utils.ts @@ -1,3 +1,22 @@ +/** + * Copyright (C) 2022, Dmitriy Pleshevskiy + * + * This file is part of Paren + * + * Paren is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Paren is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Paren. If not, see . + */ + export function concat(arr: Skipable[]): string { return join("", arr); } diff --git a/par/md.ts b/par/md.ts index a3fb5c6..9eadfc8 100644 --- a/par/md.ts +++ b/par/md.ts @@ -1,3 +1,22 @@ +/** + * Copyright (C) 2022, Dmitriy Pleshevskiy + * + * This file is part of Paren + * + * Paren is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Paren is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Paren. If not, see . + */ + import { AnyNode, Elem, Fragment, TextNode } from "../core/node.ts"; import { isNil, Nilable } from "../core/utils.ts"; import { Parser } from "./types.ts"; diff --git a/par/types.ts b/par/types.ts index ecbf894..b70a8c8 100644 --- a/par/types.ts +++ b/par/types.ts @@ -1,3 +1,21 @@ +/** + * Copyright (C) 2022, Dmitriy Pleshevskiy + * + * This file is part of Paren + * + * Paren is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Paren is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Paren. If not, see . + */ import { AnyNode } from "../core/node.ts"; export interface Parser { diff --git a/ren/attrs.ts b/ren/attrs.ts index ec86cf8..b6e50bd 100644 --- a/ren/attrs.ts +++ b/ren/attrs.ts @@ -1,3 +1,21 @@ +/** + * Copyright (C) 2022, Dmitriy Pleshevskiy + * + * This file is part of Paren + * + * Paren is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Paren is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Paren. If not, see . + */ import { Attrs } from "../core/node.ts"; import { isNotSkip, isStr, join, Skipable } from "../core/utils.ts"; diff --git a/ren/html_str.ts b/ren/html_str.ts index acb261a..5112adc 100644 --- a/ren/html_str.ts +++ b/ren/html_str.ts @@ -1,3 +1,22 @@ +/** + * Copyright (C) 2022, Dmitriy Pleshevskiy + * + * This file is part of Paren + * + * Paren is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Paren is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Paren. If not, see . + */ + import { AnyNode, AttrEntry, diff --git a/ren/node.ts b/ren/node.ts index 16e79bd..4907f6e 100644 --- a/ren/node.ts +++ b/ren/node.ts @@ -1,3 +1,22 @@ +/** + * Copyright (C) 2022, Dmitriy Pleshevskiy + * + * This file is part of Paren + * + * Paren is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Paren is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Paren. If not, see . + */ + export * from "../core/node.ts"; import { diff --git a/ren/types.ts b/ren/types.ts index e2c1aa2..0c30a51 100644 --- a/ren/types.ts +++ b/ren/types.ts @@ -1,3 +1,22 @@ +/** + * Copyright (C) 2022, Dmitriy Pleshevskiy + * + * This file is part of Paren + * + * Paren is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Paren is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Paren. If not, see . + */ + import { AnyNode } from "../core/node.ts"; export interface Renderer {