Ejemplo n.º 1
0
        public MethodParameter(MethodName methodNameAST, ProcNameRaw.ProcParameter raw)
        {
            MethodNameAST = methodNameAST;
            ParameterRaw  = raw;

            MethodContext = this.MethodNameAST.MethodAST.MethodContext;
            FileContext   = this.MethodNameAST.MethodAST.ASTClass.FileContext;
        }
Ejemplo n.º 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);
 }