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
399 B
JavaScript
19 lines
399 B
JavaScript
import { Number as NumberToken } from '../../tokenizer/index.js';
|
|
|
|
export const name = 'Number';
|
|
export const structure = {
|
|
value: String
|
|
};
|
|
|
|
export function parse() {
|
|
return {
|
|
type: 'Number',
|
|
loc: this.getLocation(this.tokenStart, this.tokenEnd),
|
|
value: this.consume(NumberToken)
|
|
};
|
|
}
|
|
|
|
export function generate(node) {
|
|
this.token(NumberToken, node.value);
|
|
}
|