C# Class Parrot.Nodes.StringLiteral

Parrot node that contains a string literal statement
Inheritance: Statement
显示文件 Open project: ParrotFx/Parrot Class Usage Examples

Public Methods

Method Description
StringLiteral ( string value ) : System
StringLiteral ( string value, StatementTail tail ) : System
ToString ( ) : string

Private Methods

Method Description
IsIdTail ( char character ) : bool
IsIdentifierHead ( char character ) : bool
IsIdentifierUnicode ( char character ) : bool
IsWrappedInQuotes ( string value ) : bool
Parse ( string source ) : List
StartsWith ( string source, char value ) : bool

Method Details

StringLiteral() public method

public StringLiteral ( string value ) : System
value string
return System

StringLiteral() public method

public StringLiteral ( string value, StatementTail tail ) : System
value string
tail StatementTail
return System

ToString() public method

public ToString ( ) : string
return string