C# 클래스 Sarcasm.Unparsing.Formatter

상속: ICommentFormatter
파일 보기 프로젝트 열기: davidnemeti/Sarcasm 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Formatter ( IFormatProvider formatProvider ) : System

비공개 메소드들

메소드 설명
Formatter ( ) : System
GetDecoration ( Utoken utoken ) : IDecoration

메소드 상세

AttachParser() 공개 메소드

public AttachParser ( MultiParser multiParserToAttach ) : void
multiParserToAttach MultiParser
리턴 void

AttachParser() 공개 메소드

public AttachParser ( Parser parserToAttach ) : void
parserToAttach Irony.Parsing.Parser
리턴 void

Formatter() 공개 메소드

public Formatter ( Sarcasm.GrammarAst.Grammar grammar ) : System
grammar Sarcasm.GrammarAst.Grammar
리턴 System

Formatter() 보호된 메소드

protected Formatter ( IFormatProvider formatProvider ) : System
formatProvider IFormatProvider
리턴 System

Formatter() 공개 메소드

public Formatter ( MultiParser multiParserToAttach ) : System
multiParserToAttach MultiParser
리턴 System

Formatter() 공개 메소드

public Formatter ( Parser parserToAttach ) : System
parserToAttach Irony.Parsing.Parser
리턴 System

GetBlockIndentation() 공개 메소드

public GetBlockIndentation ( UnparsableAst leftTerminalLeaveIfAny, UnparsableAst target ) : BlockIndentation
leftTerminalLeaveIfAny UnparsableAst
target UnparsableAst
리턴 BlockIndentation

GetCleanedUpCommentTextLines() 공개 메소드

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

GetDecoratedCommentTextLines() 공개 메소드

public GetDecoratedCommentTextLines ( UnparsableAst owner, Comment comment ) : string[]
owner UnparsableAst
comment Comment
리턴 string[]

GetDecoration() 공개 메소드

public GetDecoration ( Utoken utoken, UnparsableAst target ) : IDecoration
utoken Utoken
target UnparsableAst
리턴 IDecoration

GetUtokensAround() 공개 메소드

public GetUtokensAround ( UnparsableAst target, InsertedUtokens &leftInsertedUtokens, InsertedUtokens &rightInsertedUtokens ) : void
target UnparsableAst
leftInsertedUtokens InsertedUtokens
rightInsertedUtokens InsertedUtokens
리턴 void

GetUtokensBetween() 공개 메소드

public GetUtokensBetween ( UnparsableAst leftTerminalLeaveTarget, UnparsableAst rightTarget ) : InsertedUtokens
leftTerminalLeaveTarget UnparsableAst
rightTarget UnparsableAst
리턴 InsertedUtokens

GetUtokensBetweenCommentAndOwner() 공개 메소드

public GetUtokensBetweenCommentAndOwner ( UnparsableAst owner, Comment comment, int commentIndex, int commentCount, IEnumerable commentsBetweenThisAndOwner ) : InsertedUtokens
owner UnparsableAst
comment Comment
commentIndex int
commentCount int
commentsBetweenThisAndOwner IEnumerable
리턴 InsertedUtokens