fairdsl/fair_ast_node library
Classes
- Annotation
- AssignmentExpression
- AstNode
- ast node base class
- AwaitExpression
- BinaryExpression
- BlockStatement
- BooleanLiteral
- ClassDeclaration
- Expression
- 通用 ast node
- FieldDeclaration
- ForLoopParts
- ForStatement
- FunctionDeclaration
- FunctionExpression
- Identifier
- IfStatement
- IndexExpression
- InterpolationExpression
- ListLiteral
- MapLiteral
- MapLiteralEntry
- MemberExpression
-
- 类方法
- EdgeInsets.only()
- 'callee':{ 'type':'MemberExpression', 'object':{ 'type':'Identifier', 'name':'EdgeInsets' }, 'property':{ 'type':'Identifier', 'name':'only' } },
- MethodDeclaration
- MethodInvocation
- NamedExpression
-
- namedExpression ::=
Label
Expression - namedExpression ::=
- NumericLiteral
- PrefixedIdentifier
- grammar like (prefix.identifier), eg: People.name
- PrefixExpression
- Program
- PropertyAccess
- ReturnStatement
- SelectAstClass
- SimpleFormalParameter
- StringInterpolation
- StringLiteral
- SwitchCase
- SwitchStatement
- TypeName
- VariableDeclarationList
- VariableDeclarator
- VariableExpression
Enums
Functions
-
astNodeNameValue(
AstNodeName nodeName) → String -
parseFileObject(
MethodInvocation fileMethod) → File? - //解析基本数据类型 解析File 对象 ast