C# 클래스 NVelocity.Runtime.Parser.Node.ASTStringLiteral

ASTStringLiteral support.
상속: NVelocity.Runtime.Parser.Node.SimpleNode
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

공개 메소드들

메소드 설명
ASTStringLiteral ( Parser p, int id ) : System

Initializes a new instance of the ASTStringLiteral class.

ASTStringLiteral ( int id ) : System

Initializes a new instance of the ASTStringLiteral class.

Accept ( IParserVisitor visitor, Object data ) : Object

Accept the visitor. *

Init ( IInternalContextAdapter context, Object data ) : Object

init : we don't have to do much. Init the tree (there shouldn't be one) and then see if interpolation is turned on.

Value ( IInternalContextAdapter context ) : Object

renders the value of the string literal If the properties allow, and the string literal contains a $ or a # the literal is rendered against the context Otherwise, the stringlit is returned.

비공개 메소드들

메소드 설명
Evaluate ( NVelocity.Runtime.Parser.Node.SimpleNode inlineNode, IInternalContextAdapter context ) : object
EvaluateInPlace ( string content, IInternalContextAdapter context ) : object
InterpolateDictionaryString ( string str, IInternalContextAdapter context ) : HybridDictionary

Interpolates the dictionary string. dictionary string is any string in the format "%{ key='value' [,key2='value2' }" "%{ key='value' [,key2='value2'] }"

IsDictionaryString ( string str ) : bool
ProcessDictEntry ( HybridDictionary map, StringBuilder keyBuilder, StringBuilder value, bool isTextContent, IInternalContextAdapter context ) : void
ProcessDictEntry ( HybridDictionary map, StringBuilder keyBuilder, object value, IInternalContextAdapter context ) : void
RecursiveBuildDictionary ( char contents, int fromIndex, IInternalContextAdapter context, int &lastIndex ) : HybridDictionary

메소드 상세

ASTStringLiteral() 공개 메소드

Initializes a new instance of the ASTStringLiteral class.
public ASTStringLiteral ( Parser p, int id ) : System
p Parser The p.
id int The id.
리턴 System

ASTStringLiteral() 공개 메소드

Initializes a new instance of the ASTStringLiteral class.
public ASTStringLiteral ( int id ) : System
id int The id.
리턴 System

Accept() 공개 메소드

Accept the visitor. *
public Accept ( IParserVisitor visitor, Object data ) : Object
visitor IParserVisitor
data Object
리턴 Object

Init() 공개 메소드

init : we don't have to do much. Init the tree (there shouldn't be one) and then see if interpolation is turned on.
public Init ( IInternalContextAdapter context, Object data ) : Object
context IInternalContextAdapter
data Object
리턴 Object

Value() 공개 메소드

renders the value of the string literal If the properties allow, and the string literal contains a $ or a # the literal is rendered against the context Otherwise, the stringlit is returned.
public Value ( IInternalContextAdapter context ) : Object
context IInternalContextAdapter
리턴 Object