C# Class Sarcasm.Unparsing.Formatter

Inheritance: ICommentFormatter
Afficher le fichier Open project: davidnemeti/Sarcasm Class Usage Examples

Méthodes publiques

Méthode Description
AttachParser ( MultiParser multiParserToAttach ) : void
AttachParser ( Parser parserToAttach ) : void
Formatter ( Sarcasm.GrammarAst.Grammar grammar ) : System
Formatter ( MultiParser multiParserToAttach ) : System
Formatter ( Parser parserToAttach ) : System
GetBlockIndentation ( UnparsableAst leftTerminalLeaveIfAny, UnparsableAst target ) : BlockIndentation
GetCleanedUpCommentTextLines ( string commentTextLines, int columnIndex, CommentTerminal commentTerminal, bool &isDecorated ) : string[]
GetDecoratedCommentTextLines ( UnparsableAst owner, Comment comment ) : string[]
GetDecoration ( Utoken utoken, UnparsableAst target ) : IDecoration
GetUtokensAround ( UnparsableAst target, InsertedUtokens &leftInsertedUtokens, InsertedUtokens &rightInsertedUtokens ) : void
GetUtokensBetween ( UnparsableAst leftTerminalLeaveTarget, UnparsableAst rightTarget ) : InsertedUtokens
GetUtokensBetweenCommentAndOwner ( UnparsableAst owner, Comment comment, int commentIndex, int commentCount, IEnumerable commentsBetweenThisAndOwner ) : InsertedUtokens

Méthodes protégées

Méthode Description
Formatter ( IFormatProvider formatProvider ) : System

Private Methods

Méthode Description
Formatter ( ) : System
GetDecoration ( Utoken utoken ) : IDecoration

Method Details

AttachParser() public méthode

public AttachParser ( MultiParser multiParserToAttach ) : void
multiParserToAttach MultiParser
Résultat void

AttachParser() public méthode

public AttachParser ( Parser parserToAttach ) : void
parserToAttach Irony.Parsing.Parser
Résultat void

Formatter() public méthode

public Formatter ( Sarcasm.GrammarAst.Grammar grammar ) : System
grammar Sarcasm.GrammarAst.Grammar
Résultat System

Formatter() protected méthode

protected Formatter ( IFormatProvider formatProvider ) : System
formatProvider IFormatProvider
Résultat System

Formatter() public méthode

public Formatter ( MultiParser multiParserToAttach ) : System
multiParserToAttach MultiParser
Résultat System

Formatter() public méthode

public Formatter ( Parser parserToAttach ) : System
parserToAttach Irony.Parsing.Parser
Résultat System

GetBlockIndentation() public méthode

public GetBlockIndentation ( UnparsableAst leftTerminalLeaveIfAny, UnparsableAst target ) : BlockIndentation
leftTerminalLeaveIfAny UnparsableAst
target UnparsableAst
Résultat BlockIndentation

GetCleanedUpCommentTextLines() public méthode

public GetCleanedUpCommentTextLines ( string commentTextLines, int columnIndex, CommentTerminal commentTerminal, bool &isDecorated ) : string[]
commentTextLines string
columnIndex int
commentTerminal Irony.Parsing.CommentTerminal
isDecorated bool
Résultat string[]

GetDecoratedCommentTextLines() public méthode

public GetDecoratedCommentTextLines ( UnparsableAst owner, Comment comment ) : string[]
owner UnparsableAst
comment Comment
Résultat string[]

GetDecoration() public méthode

public GetDecoration ( Utoken utoken, UnparsableAst target ) : IDecoration
utoken Utoken
target UnparsableAst
Résultat IDecoration

GetUtokensAround() public méthode

public GetUtokensAround ( UnparsableAst target, InsertedUtokens &leftInsertedUtokens, InsertedUtokens &rightInsertedUtokens ) : void
target UnparsableAst
leftInsertedUtokens InsertedUtokens
rightInsertedUtokens InsertedUtokens
Résultat void

GetUtokensBetween() public méthode

public GetUtokensBetween ( UnparsableAst leftTerminalLeaveTarget, UnparsableAst rightTarget ) : InsertedUtokens
leftTerminalLeaveTarget UnparsableAst
rightTarget UnparsableAst
Résultat InsertedUtokens

GetUtokensBetweenCommentAndOwner() public méthode

public GetUtokensBetweenCommentAndOwner ( UnparsableAst owner, Comment comment, int commentIndex, int commentCount, IEnumerable commentsBetweenThisAndOwner ) : InsertedUtokens
owner UnparsableAst
comment Comment
commentIndex int
commentCount int
commentsBetweenThisAndOwner IEnumerable
Résultat InsertedUtokens