summaryrefslogtreecommitdiff
path: root/graphics/asymptote/access.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-08-07 03:02:55 +0000
committerNorbert Preining <norbert@preining.info>2020-08-07 03:02:55 +0000
commit3710c23789342d9d88783cbe9ad23eb5263a7c33 (patch)
tree1c40b2bfb9f6b652f7877ad0991f5d6b44391154 /graphics/asymptote/access.h
parentd99fea72e367e8d4d2809b43b3b0206b1bb526b8 (diff)
CTAN sync 202008070302
Diffstat (limited to 'graphics/asymptote/access.h')
-rw-r--r--graphics/asymptote/access.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/asymptote/access.h b/graphics/asymptote/access.h
index 08e0a48e3a..f1f82f9266 100644
--- a/graphics/asymptote/access.h
+++ b/graphics/asymptote/access.h
@@ -17,11 +17,11 @@
#include "vm.h"
namespace vm {
- struct callable;
+struct callable;
}
namespace trans {
-
+
class frame;
class coder;
@@ -32,7 +32,7 @@ enum action {
};
// These serves as the base class for the accesses.
-class access : public gc {
+class access : public gc {
protected:
// Generic compiler access error - if the compiler functions properly,
// none of these should be reachable by the user.
@@ -44,7 +44,7 @@ protected:
public:
virtual ~access() = 0;
-
+
// Encode a read/write/call of the access when nothing is on the stack.
virtual void encode(action, position pos, coder &)
{
@@ -59,7 +59,7 @@ public:
};
// This class represents identity conversions in casting.
-class identAccess : public access
+class identAccess : public access
{
virtual void encode(action act, position, coder&);
};
@@ -95,7 +95,7 @@ class frameAccess : public access {
public:
frameAccess(frame *f)
: f(f) {}
-
+
void encode(action act, position pos, coder &e);
void encode(action act, position pos, coder &e, frame *top);
};
@@ -116,7 +116,7 @@ public:
class qualifiedAccess : public access {
// The location and frame of the record.
access *qualifier;
- frame *qualifierLevel;
+ frame *qualifierLevel;
// The location of the field relative to the record.
access *field;