C# Class IronKonoha.KonohaSpace

Inheritance: KObject
Afficher le fichier Open project: tetsurom/ikonoha Class Usage Examples

Méthodes publiques

Méthode Description
Eval ( string script ) : dynamic
ExprTyCheck_Expr ( KStatement stmt, Syntax syn, KGamma gma ) : void
ExprTyCheck_Float ( KStatement stmt, Syntax syn, KGamma gma ) : void
ExprTyCheck_Int ( KStatement stmt, Syntax syn, KGamma gma ) : void
ExprTyCheck_Text ( KStatement stmt, Syntax syn, KGamma gma ) : void
KonohaSpace ( Context ctx ) : System
KonohaSpace ( Context ctx, int child ) : System
ParseStmt_Expr ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ParseStmt_Symbol ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ParseStmt_Type ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ParseStmt_Usymbol ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
SYN_setExprTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
SYN_setStmtTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
SYN_setTopStmtTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
TopStmtTyCheck_Expr ( KStatement stmt, Syntax syn, KGamma gma ) : void
defineSyntax ( KDEFINE_SYNTAX syndefs ) : void
parseSyntaxRule ( string rule, LineInfo pline, List &adst ) : void
tokenize ( string script ) : IList

Private Methods

Méthode Description
ExprTyCheck_Block ( KStatement stmt, Syntax syn, KGamma gma ) : void
ExprTyCheck_MethodCall ( KStatement stmt, Syntax syn, KGamma gma ) : void
GetSyntax ( KeywordType keyword ) : Syntax
GetSyntax ( KeywordType keyword, bool isnew ) : Syntax
GetSyntaxRule ( IList tls, int s, int e ) : Syntax
ParseExpr_Dot ( Context ctx, Syntax syn, KStatement stmt, IList tls, int s, int c, int e ) : KonohaExpr
ParseExpr_Parenthesis ( Context ctx, Syntax syn, KStatement stmt, IList tls, int s, int c, int e ) : KonohaExpr
ParseStmt_Block ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ParseStmt_Params ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tokens, int s, int e ) : int
ParseStmt_Toks ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
TopStmtTyCheck_ParamsDecl ( KStatement stmt, Syntax syn, KGamma gma ) : void
checkNestedSyntax ( IList tls, int &s, int e, TokenType tt, char opench, char closech ) : bool
defineDefaultSyntax ( ) : void
findTopCh ( IList tls, int s, int e, TokenType tt, char closech ) : int
isFieldName ( IList tls, int c, int e ) : bool
makeSyntaxRule ( IList tls, int s, int e, List &adst ) : bool

Method Details

Eval() public méthode

public Eval ( string script ) : dynamic
script string
Résultat dynamic

ExprTyCheck_Expr() public static méthode

public static ExprTyCheck_Expr ( KStatement stmt, Syntax syn, KGamma gma ) : void
stmt KStatement
syn Syntax
gma KGamma
Résultat void

ExprTyCheck_Float() public static méthode

public static ExprTyCheck_Float ( KStatement stmt, Syntax syn, KGamma gma ) : void
stmt KStatement
syn Syntax
gma KGamma
Résultat void

ExprTyCheck_Int() public static méthode

public static ExprTyCheck_Int ( KStatement stmt, Syntax syn, KGamma gma ) : void
stmt KStatement
syn Syntax
gma KGamma
Résultat void

ExprTyCheck_Text() public static méthode

public static ExprTyCheck_Text ( KStatement stmt, Syntax syn, KGamma gma ) : void
stmt KStatement
syn Syntax
gma KGamma
Résultat void

KonohaSpace() public méthode

public KonohaSpace ( Context ctx ) : System
ctx Context
Résultat System

KonohaSpace() public méthode

public KonohaSpace ( Context ctx, int child ) : System
ctx Context
child int
Résultat System

ParseStmt_Expr() public static méthode

public static ParseStmt_Expr ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ctx Context
stmt KStatement
syn Syntax
name Symbol
tls IList
s int
e int
Résultat int

ParseStmt_Symbol() public static méthode

public static ParseStmt_Symbol ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ctx Context
stmt KStatement
syn Syntax
name Symbol
tls IList
s int
e int
Résultat int

ParseStmt_Type() public static méthode

public static ParseStmt_Type ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ctx Context
stmt KStatement
syn Syntax
name Symbol
tls IList
s int
e int
Résultat int

ParseStmt_Usymbol() public static méthode

public static ParseStmt_Usymbol ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ctx Context
stmt KStatement
syn Syntax
name Symbol
tls IList
s int
e int
Résultat int

SYN_setExprTyCheck() public méthode

public SYN_setExprTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
ks KeywordType
checker StmtTyChecker
Résultat void

SYN_setStmtTyCheck() public méthode

public SYN_setStmtTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
ks KeywordType
checker StmtTyChecker
Résultat void

SYN_setTopStmtTyCheck() public méthode

public SYN_setTopStmtTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
ks KeywordType
checker StmtTyChecker
Résultat void

TopStmtTyCheck_Expr() public static méthode

public static TopStmtTyCheck_Expr ( KStatement stmt, Syntax syn, KGamma gma ) : void
stmt KStatement
syn Syntax
gma KGamma
Résultat void

defineSyntax() public méthode

public defineSyntax ( KDEFINE_SYNTAX syndefs ) : void
syndefs KDEFINE_SYNTAX
Résultat void

parseSyntaxRule() public méthode

public parseSyntaxRule ( string rule, LineInfo pline, List &adst ) : void
rule string
pline LineInfo
adst List
Résultat void

tokenize() public méthode

public tokenize ( string script ) : IList
script string
Résultat IList