Class UEntity

Summary

Base class for representing a Unicon language entity.

Superclasses:
Object

Package:
UniDoc
File:
UniForm.icn
Methods:
addComment, getComments, getFormType, getName, getParent, getSrcFile, mergeComments, setComments, setName, setParent, setSrcFile, startNewComments

Methods inherited from Object:
Type, className, clone, equals, fieldNames, genMethods, getField, get_class, get_class_name, get_id, hasField, hasMethod, hash_code, instanceOf, invoke, is_instance, setField, to_string

Fields:
comments, name, parent, srcFile

Source code.

Details
Constructor

UEntity(name, parent, comments, srcFile)

Methods:

addComment(newComment)

Add a comment to this entity's current comment paragraph


getComments()

Produce the Comments() associated with this entity


getFormType()

Produce a nice name for the type of this entity.


getName()

Produce this entity's name


getParent()

Produce this entity's parent entity.


getSrcFile()

Produce the source file for this entity.


mergeComments(newComments)

Add an entire comment paragraph to this entity's comments


setComments(newComments)

Change the comments associated with this entity


setName(newName)

Name this entity


setParent(newParent)

Remember the parent entity for this entity.


setSrcFile(fName)

Remember the source file name for this entity.


startNewComments(newComment)

Start a new comment paragraph for this entity


Fields:
comments

name

parent

srcFile


This page produced by UniDoc on 2021/04/15 @ 23:59:54.