Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101070439
getAst.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Feb 5, 10:45
Size
326 B
Mime Type
text/x-java
Expires
Fri, Feb 7, 10:45 (2 d)
Engine
blob
Format
Raw Data
Handle
24086225
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
getAst.d.ts
View Options
import { Parser, Node as AcornNode, Options } from 'acorn';
export declare const ACORN_OPTIONS: Options;
/**
* Parse source code with Acorn and return AST, returns undefined in case of errors
*/
export default function getAst(code: string, plugins?: ((BaseParser: typeof Parser) => typeof Parser)[]): AcornNode | undefined;
Event Timeline
Log In to Comment