Skip to content

ArchitectureGlossary

Olivier Smedile edited this page Jun 6, 2019 · 17 revisions

Some definitions useful to understand the main concepts of TypeCobol:

Concept Definition
SyntaxProperty Used to associate a Token to a value. It's especially useful for codegen and languageServer
SymbolDefinition One or more token used to define something. It can be a variable, a program name, a file name, ...
SymbolReference One or more token used to reference something. It can be a variable, a program name, a file name, ...
StorageArea Represent a memory zone associated with a reference.
Variable Can be a StorageArea or a constant value (like a literal)
CodeElement A CodeElement is an object which represent a Cobol statement. Eg. MoveStatement, InitializeStatement. CodeElement cannot be linked together. An IfStatement cannot contains another statement. You have to use Node for that
Node A node is usually associated with a CodeElement. Node can be linked together in a tree structure. So you can have an IfNode which contains other Node
Clone this wiki locally