nfo:SourceCode: Tracker Ontology Reference Manual

## nfo:SourceCode nfo:SourceCode |

## Description

Code in a compilable or interpreted programming language.

## Class hierarchy

        http://www.w3.org/2000/01/rdf-schema#Resource
            nie:InformationElement
            ╰── nfo:Document
                ╰── nfo:TextDocument
                    ╰── nfo:PlainTextDocument
                        ╰── nfo:SourceCode

## Properties

### The `“nfo:definesGlobalVariable”` property

    “nfo:definesGlobalVariable”          http://www.w3.org/2001/XMLSchema#string

Name of a global variable defined within the source code file.

Number of possible elements per resource (Cardinality): 1

### The `“nfo:definesFunction”` property

    “nfo:definesFunction”          http://www.w3.org/2001/XMLSchema#string

A name of a function/method defined in the given source code file.

Number of possible elements per resource (Cardinality): 1

### The `“nfo:definesClass”` property

    “nfo:definesClass”          http://www.w3.org/2001/XMLSchema#string

Name of a class defined in the source code file.

Number of possible elements per resource (Cardinality): 1

### The `“nfo:programmingLanguage”` property

    “nfo:programmingLanguage”          http://www.w3.org/2001/XMLSchema#string

Number of possible elements per resource (Cardinality): 1

### The `“nfo:commentCharacterCount”` property

    “nfo:commentCharacterCount”          http://www.w3.org/2001/XMLSchema#integer

The amount of character in comments i.e. characters ignored by the compiler/interpreter.

Number of possible elements per resource (Cardinality): 1