Class MetaPragma
- java.lang.Object
-
- com.sun.tools.corba.ee.idl.PragmaHandler
-
- com.sun.tools.corba.ee.idl.som.idlemit.MetaPragma
-
public class MetaPragma extends PragmaHandler
This is an implementation that handles #pragma meta scoped_name string where- scoped_name == "::" separated scoped name
- string == separated identifiers, such as "localonly", "abstract", or "init". D59407: NOTE: any non-white-space is grouped as part of the identifier.
-
-
Field Summary
Fields Modifier and Type Field Description private static intcommentStateprivate static intfinalStateprivate static intinitialStateparse pragma message and place into vector v.static intmetaKeyprivate static inttextState
-
Constructor Summary
Constructors Constructor Description MetaPragma()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidparseMsg(java.util.Vector v, java.lang.String msg)booleanprocess(java.lang.String pragma, java.lang.String currentToken)Main entry point for the MetaPragma handlerstatic voidprocessForward(ForwardEntry forwardEntry)Fold the meta info from the forward entry into its corresponding interface entry.-
Methods inherited from class com.sun.tools.corba.ee.idl.PragmaHandler
closeScope, currentToken, getEntryForName, getStringToEOL, getUntil, nextToken, openScope, parseException, scopedName, skipToEOL, skipUntil
-
-
-
-
Method Detail
-
process
public boolean process(java.lang.String pragma, java.lang.String currentToken)Main entry point for the MetaPragma handler- Specified by:
processin classPragmaHandler- Parameters:
pragma- string for pragma namecurrentToken- next token in the input stream.- Returns:
- true if this is a meta pragma.
-
processForward
public static void processForward(ForwardEntry forwardEntry)
Fold the meta info from the forward entry into its corresponding interface entry.- Parameters:
forwardEntry- the forward entry to process
-
parseMsg
private void parseMsg(java.util.Vector v, java.lang.String msg)
-
-