Files
rspade_system/node_modules/@jqhtml/parser/dist/parser.d.ts
root 77b4d10af8 Refactor filename naming system and apply convention-based renames
Standardize settings file naming and relocate documentation files
Fix code quality violations from rsx:check
Reorganize user_management directory into logical subdirectories
Move Quill Bundle to core and align with Tom Select pattern
Simplify Site Settings page to focus on core site information
Complete Phase 5: Multi-tenant authentication with login flow and site selection
Add route query parameter rule and synchronize filename validation logic
Fix critical bug in UpdateNpmCommand causing missing JavaScript stubs
Implement filename convention rule and resolve VS Code auto-rename conflict
Implement js-sanitizer RPC server to eliminate 900+ Node.js process spawns
Implement RPC server architecture for JavaScript parsing
WIP: Add RPC server infrastructure for JS parsing (partial implementation)
Update jqhtml terminology from destroy to stop, fix datagrid DOM preservation
Add JQHTML-CLASS-01 rule and fix redundant class names
Improve code quality rules and resolve violations
Remove legacy fatal error format in favor of unified 'fatal' error type
Filter internal keys from window.rsxapp output
Update button styling and comprehensive form/modal documentation
Add conditional fly-in animation for modals
Fix non-deterministic bundle compilation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 19:10:02 +00:00

58 lines
1.7 KiB
TypeScript

import { Token } from './lexer.js';
import { ProgramNode } from './ast.js';
export declare class Parser {
private tokens;
private current;
private source?;
private filename?;
private static readonly VOID_ELEMENTS;
constructor(tokens: Token[], source?: string, filename?: string);
/**
* Validate JavaScript code for common mistakes
*/
private validate_javascript_code;
parse(): ProgramNode;
private parse_top_level;
private parse_component_definition;
private parse_content;
private parse_expression;
private parse_code_block;
private parse_if_statement;
private parse_for_statement;
private static readonly JAVASCRIPT_RESERVED_WORDS;
private parse_slot;
private parse_tag;
private parse_attributes;
private parse_conditional_attribute;
private parse_attribute_value;
private check_closing_tag;
private match;
private check;
private check_ahead;
private check_sequence;
private advance;
private is_at_end;
private peek;
private peek_ahead;
private previous;
private current_token;
private previous_token;
/**
* Create a SourceLocation from start and end tokens
* Propagates loc field if available, falls back to old fields for compatibility
*/
private create_location;
private consume;
private validate_component_children;
/**
* Compile method for simplified API
* Parses the template and returns component metadata and render function
*/
compile(): {
name: string;
tagName: string;
defaultAttributes: Record<string, any>;
renderFunction: string;
};
}
//# sourceMappingURL=parser.d.ts.map