language-dart-0.1.0.0: Manipulating Dart source: abstract syntax and pretty-printer

Safe HaskellSafe
LanguageHaskell2010

Language.Dart.Pretty

Documentation

class Pretty a Source #

Instances

Pretty CompilationUnit Source # 
Pretty Statement Source # 
Pretty Expression Source # 
Pretty InvocationExpression Source # 
Pretty ConstructorName Source # 
Pretty FunctionExpression Source # 
Pretty FunctionBody Source # 
Pretty AsyncModifier Source # 
Pretty Identifier Source # 
Pretty LibraryIdentifier Source # 
Pretty SimpleIdentifier Source # 
Pretty Block Source # 

Methods

pretty :: Block -> Doc

prettyPrec :: Int -> Block -> Doc

Pretty CatchClause Source # 
Pretty SwitchMember Source # 
Pretty TypeArgumentList Source # 
Pretty TypeName Source # 
Pretty Label Source # 

Methods

pretty :: Label -> Doc

prettyPrec :: Int -> Label -> Doc

Pretty Annotation Source # 
Pretty ArgumentList Source # 
Pretty TypeParameterList Source # 
Pretty TypeParameter Source # 
Pretty FormalParameterList Source # 
Pretty FormalParameter Source # 
Pretty NormalFormalParameter Source # 
Pretty ScriptTag Source # 
Pretty MapLiteralEntry Source # 
Pretty ExtendsClause Source # 
Pretty Combinator Source # 
Pretty ConstructorInitializer Source # 
Pretty Directive Source # 
Pretty UriBasedDirective Source # 
Pretty NamespaceDirective Source # 
Pretty ClassMember Source # 
Pretty MethodModifier Source # 
Pretty CompilationUnitMember Source # 
Pretty NamedCompilationUnitMember Source # 
Pretty TypeAlias Source # 
Pretty ImplementsClause Source # 
Pretty WithClause Source # 
Pretty FunctionDeclaration Source # 
Pretty PropertyKeyword Source # 
Pretty EnumConstantDeclaration Source # 
Pretty DeclaredIdentifier Source # 
Pretty VariableDeclarationList Source # 
Pretty VariableDeclaration Source # 
Pretty NewOrConst Source # 
Pretty FinalVarOrType Source # 
Pretty FinalConstVarOrType Source # 
Pretty Literal Source # 

Methods

pretty :: Literal -> Doc

prettyPrec :: Int -> Literal -> Doc

Pretty StringLiteral Source # 
Pretty SingleStringLiteral Source # 
Pretty InterpolationElement Source # 
Pretty TypedLiteral Source #