permet l'ajout des frameworks et des routes

This commit is contained in:
22107988t
2023-09-25 09:41:55 +02:00
parent 0b9f7d4dfb
commit 361112699c
2787 changed files with 864804 additions and 0 deletions

9
app/node_modules/hyntax/lib/constants/ast-nodes.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
module.exports = {
NODE_DOCUMENT: 'document',
NODE_TAG: 'tag',
NODE_TEXT: 'text',
NODE_DOCTYPE: 'doctype',
NODE_COMMENT: 'comment',
NODE_SCRIPT: 'script',
NODE_STYLE: 'style'
}

35
app/node_modules/hyntax/lib/constants/token-types.js generated vendored Normal file
View File

@@ -0,0 +1,35 @@
module.exports = {
TOKEN_TEXT: 'token:text',
TOKEN_OPEN_TAG_START: 'token:open-tag-start',
TOKEN_ATTRIBUTE_KEY: 'token:attribute-key',
TOKEN_ATTRIBUTE_ASSIGNMENT: 'token:attribute-assignment',
TOKEN_ATTRIBUTE_VALUE_WRAPPER_START: 'token:attribute-value-wrapper-start',
TOKEN_ATTRIBUTE_VALUE: 'token:attribute-value',
TOKEN_ATTRIBUTE_VALUE_WRAPPER_END: 'token:attribute-value-wrapper-end',
TOKEN_OPEN_TAG_END: 'token:open-tag-end',
TOKEN_CLOSE_TAG: 'token:close-tag',
TOKEN_OPEN_TAG_START_SCRIPT: 'token:open-tag-start-script',
TOKEN_SCRIPT_TAG_CONTENT: 'token:script-tag-content',
TOKEN_OPEN_TAG_END_SCRIPT: 'token:open-tag-end-script',
TOKEN_CLOSE_TAG_SCRIPT: 'token:close-tag-script',
TOKEN_OPEN_TAG_START_STYLE: 'token:open-tag-start-style',
TOKEN_STYLE_TAG_CONTENT: 'token:style-tag-content',
TOKEN_OPEN_TAG_END_STYLE: 'token:open-tag-end-style',
TOKEN_CLOSE_TAG_STYLE: 'token:close-tag-style',
TOKEN_DOCTYPE_START: 'token:doctype-start',
TOKEN_DOCTYPE_END: 'token:doctype-end',
TOKEN_DOCTYPE_ATTRIBUTE_WRAPPER_START: 'token:doctype-attribute-wrapper-start',
TOKEN_DOCTYPE_ATTRIBUTE: 'token:doctype-attribute',
TOKEN_DOCTYPE_ATTRIBUTE_WRAPPER_END: 'token:doctype-attribute-wrapper-end',
TOKEN_COMMENT_START: 'token:comment-start',
TOKEN_COMMENT_CONTENT: 'token:comment-content',
TOKEN_COMMENT_END: 'token:comment-end'
}

View File

@@ -0,0 +1,21 @@
module.exports = {
DATA_CONTEXT: 'tokenizer-context:data',
OPEN_TAG_START_CONTEXT: 'tokenizer-context:open-tag-start',
CLOSE_TAG_CONTEXT: 'tokenizer-context:close-tag',
ATTRIBUTES_CONTEXT: 'tokenizer-context:attributes',
OPEN_TAG_END_CONTEXT: 'tokenizer-context:open-tag-end',
ATTRIBUTE_KEY_CONTEXT: 'tokenizer-context:attribute-key',
ATTRIBUTE_VALUE_CONTEXT: 'tokenizer-context:attribute-value',
ATTRIBUTE_VALUE_BARE_CONTEXT: 'tokenizer-context:attribute-value-bare',
ATTRIBUTE_VALUE_WRAPPED_CONTEXT: 'tokenizer-context:attribute-value-wrapped',
SCRIPT_CONTENT_CONTEXT: 'tokenizer-context:script-content',
STYLE_CONTENT_CONTEXT: 'tokenizer-context:style-content',
DOCTYPE_START_CONTEXT: 'tokenizer-context:doctype-start',
DOCTYPE_END_CONTEXT: 'tokenizer-context:doctype-end',
DOCTYPE_ATTRIBUTES_CONTEXT: 'tokenizer-context:doctype-attributes',
DOCTYPE_ATTRIBUTE_WRAPPED_CONTEXT: 'tokenizer-context:doctype-attribute-wrapped',
DOCTYPE_ATTRIBUTE_BARE_CONTEXT: 'tokenizer-context:doctype-attribute-bare',
COMMENT_START_CONTEXT: 'tokenizer-context:comment-start',
COMMENT_CONTENT_CONTEXT: 'tokenizer-context:comment-content',
COMMENT_END_CONTEXT: 'tokenizer-context:comment-end'
}

View File

@@ -0,0 +1,14 @@
module.exports = {
TAG_CONTENT_CONTEXT: 'tree-constructor-context:tag-content',
TAG_CONTEXT: 'tree-constructor-context:tag',
TAG_NAME_CONTEXT: 'tree-constructor-context:tag-name',
ATTRIBUTES_CONTEXT: 'tree-constructor-context:attributes',
ATTRIBUTE_CONTEXT: 'tree-constructor-context:attribute',
ATTRIBUTE_VALUE_CONTEXT: 'tree-constructor-context:attribute-value',
COMMENT_CONTEXT: 'tree-constructor-context:comment',
DOCTYPE_CONTEXT: 'tree-constructor-context:doctype',
DOCTYPE_ATTRIBUTES_CONTEXT: 'tree-constructor-context:doctype-attributes',
DOCTYPE_ATTRIBUTE_CONTEXT: 'tree-constructor-context:doctype-attribute',
SCRIPT_TAG_CONTEXT: 'tree-constructor-context:script-tag',
STYLE_TAG_CONTEXT: 'tree-constructor-context:style-tag'
}