C# 클래스 CodeKicker.BBCode.BBCodeParser

This class is useful for creating a custom parser. You can customize which tags are available and how they are translated to HTML. In order to use this library, we require a link to http://codekicker.de/ from you. Licensed unter the Creative Commons Attribution 3.0 Licence: http://creativecommons.org/licenses/by/3.0/.
파일 보기 프로젝트 열기: Pablissimo/CodeKicker.BBCode-Mod 1 사용 예제들

공개 메소드들

메소드 설명
AppendText ( string textToAppend, Stack stack ) : void
BBCodeParser ( ErrorMode errorMode, string textNodeHtmlTemplate, IList tags ) : System
BBCodeParser ( IList tags ) : System
ParseSyntaxTree ( string bbCode ) : SequenceNode
ToHtml ( string bbCode ) : string

비공개 메소드들

메소드 설명
ErrorOrReturn ( string msgKey ) : bool
MatchStartTag ( string bbCode, int &pos, Stack stack ) : bool
MatchTagEnd ( string bbCode, int &pos, Stack stack ) : bool
MatchTextNode ( string bbCode, int &pos, Stack stack ) : bool
ParseAttributeValue ( string input, int &pos, bool greedyProcessing = false ) : string
ParseChar ( string input, int &pos, char c ) : bool
ParseLimitedWhitespace ( string input, int &pos, int maxNewlinesToConsume ) : bool
ParseName ( string input, int &pos ) : string
ParseTagEnd ( string input, int &pos ) : string
ParseTagStart ( string input, int &pos ) : TagNode
ParseText ( string input, int &pos ) : string
ParseWhitespace ( string input, int &pos ) : bool

메소드 상세

AppendText() 공개 메소드

public AppendText ( string textToAppend, Stack stack ) : void
textToAppend string
stack Stack
리턴 void

BBCodeParser() 공개 메소드

public BBCodeParser ( ErrorMode errorMode, string textNodeHtmlTemplate, IList tags ) : System
errorMode ErrorMode
textNodeHtmlTemplate string
tags IList
리턴 System

BBCodeParser() 공개 메소드

public BBCodeParser ( IList tags ) : System
tags IList
리턴 System

ParseSyntaxTree() 공개 메소드

public ParseSyntaxTree ( string bbCode ) : SequenceNode
bbCode string
리턴 CodeKicker.BBCode.SyntaxTree.SequenceNode

ToHtml() 공개 메소드

public ToHtml ( string bbCode ) : string
bbCode string
리턴 string