d3b92593d5
- Create Axios-based API client with sources, jobs, and dashboard endpoints - Add responsive Layout component with navigation sidebar - Set up React Router with Dashboard, Backups, and Settings routes - Configure TanStack Query provider with default options - Use lucide-react for navigation icons
19 lines
376 B
JavaScript
19 lines
376 B
JavaScript
import { Ident } from '../../tokenizer/index.js';
|
|
|
|
export const name = 'Identifier';
|
|
export const structure = {
|
|
name: String
|
|
};
|
|
|
|
export function parse() {
|
|
return {
|
|
type: 'Identifier',
|
|
loc: this.getLocation(this.tokenStart, this.tokenEnd),
|
|
name: this.consume(Ident)
|
|
};
|
|
}
|
|
|
|
export function generate(node) {
|
|
this.token(Ident, node.name);
|
|
}
|