示例#1
0
        public MethodParameter(MethodName methodNameAST, ProcNameRaw.ProcParameter raw)
        {
            MethodNameAST = methodNameAST;
            ParameterRaw  = raw;

            MethodContext = this.MethodNameAST.MethodAST.MethodContext;
            FileContext   = this.MethodNameAST.MethodAST.ASTClass.FileContext;
        }
示例#2
0
 public ProcMethod(ClassAST classAST, SectionProcRaw raw)
 {
     ASTClass      = classAST;
     Raw           = raw;
     MethodContext = new ContextMethod(ASTClass.ClassContext);
     NamePart      = new MethodName(this, Raw.NamePart);
     Body          = new StmtBlock(this, Raw.Body);
 }